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:
whl739 2018-05-28 21:05:36 +08:00
parent 8ba865bafa
commit 0633ebac40
1 changed files with 1 additions and 1 deletions

View File

@ -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