From 903fc4984d2df602f5d94955df7f7bf09face497 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Fri, 15 Nov 2019 14:19:47 +0100 Subject: [PATCH] [ssl] RAND_pseudo_bytes is deprecated. --- src/network/ssl/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/ssl/ssl.c b/src/network/ssl/ssl.c index 0be3da09e..7d90ed1f9 100644 --- a/src/network/ssl/ssl.c +++ b/src/network/ssl/ssl.c @@ -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