mirror of https://github.com/F-Stack/f-stack.git
Fix compling error in the newer version of gcc and openssl.
`RAND_pseudo_bytes` is deprecated in the newer version of openssl. Use `RAND_bytes` instead.
This commit is contained in:
parent
8ba865bafa
commit
0633ebac40
|
@ -197,7 +197,7 @@ ff_arc4rand(void *ptr, unsigned int len, int reseed)
|
||||||
{
|
{
|
||||||
(void)reseed;
|
(void)reseed;
|
||||||
|
|
||||||
RAND_pseudo_bytes(ptr, len);
|
RAND_bytes(ptr, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t
|
uint32_t
|
||||||
|
|
Loading…
Reference in New Issue