1
0
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:
Witold Filipczyk 2019-11-15 14:19:47 +01:00
parent 5c71cc384e
commit 903fc4984d

View File

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