mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-14 06:49:35 -04:00
Merge pull request #769 from sungjungk/fix-return-handling
Add error-handling routine for arc4_seed() (cherry picked from commit 8d5b14d42888416404a24f8060b514f8258b7f17)
This commit is contained in:
parent
fcdda24b3a
commit
9108414032
@ -379,7 +379,9 @@ arc4_stir(void)
|
|||||||
rs_initialized = 1;
|
rs_initialized = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
arc4_seed();
|
if (0 != arc4_seed())
|
||||||
|
return -1;
|
||||||
|
|
||||||
if (!arc4_seeded_ok)
|
if (!arc4_seeded_ok)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user