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
2abe29f7f6
commit
b3aff0ba02
|
@ -197,7 +197,7 @@ ff_arc4rand(void *ptr, unsigned int len, int reseed)
|
|||
{
|
||||
(void)reseed;
|
||||
|
||||
RAND_pseudo_bytes(ptr, len);
|
||||
RAND_bytes(ptr, len);
|
||||
}
|
||||
|
||||
uint32_t
|
||||
|
|
Loading…
Reference in New Issue