From: Fabian Keil Date: Sun, 31 Mar 2024 15:01:36 +0000 (+0200) Subject: wolfSSL: Use variable type WC_RNG instead of RNG X-Git-Url: http://www.privoxy.org/gitweb/%40default-cgi%40edit-actions?p=privoxy.git;a=commitdiff_plain;h=e3785036766088f2eaafbede89eff8502cc9a720 wolfSSL: Use variable type WC_RNG instead of RNG As Roland reported [0] the latter may not be available. [0] --- diff --git a/wolfssl.c b/wolfssl.c index 08f3d715..0ca0605f 100644 --- a/wolfssl.c +++ b/wolfssl.c @@ -66,7 +66,7 @@ static int wolfssl_initialized = 0; * doesn't matter because we only use it with * the certificate_mutex locked. */ -static RNG wolfssl_rng; +static WC_RNG wolfssl_rng; #ifndef WOLFSSL_ALT_CERT_CHAINS /*