mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[ssl] RAND_pseudo_bytes is deprecated.
This commit is contained in:
parent
5c71cc384e
commit
903fc4984d
@ -471,7 +471,7 @@ void
|
||||
random_nonce(unsigned char buf[], size_t size)
|
||||
{
|
||||
#ifdef USE_OPENSSL
|
||||
RAND_pseudo_bytes(buf, size);
|
||||
RAND_bytes(buf, size);
|
||||
#elif defined(CONFIG_GNUTLS)
|
||||
gcry_create_nonce(buf, size);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user