wolfSSL: Use variable type WC_RNG instead of RNG
authorFabian Keil <fk@fabiankeil.de>
Sun, 31 Mar 2024 15:01:36 +0000 (17:01 +0200)
committerFabian Keil <fk@fabiankeil.de>
Mon, 1 Apr 2024 11:17:42 +0000 (13:17 +0200)
As Roland reported [0] the latter may not be available.

[0] <https://lists.privoxy.org/pipermail/privoxy-devel/2024-March/000759.html>

wolfssl.c

index 08f3d71..0ca0605 100644 (file)
--- 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
 /*