From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 31 Mar 2024 15:04:43 +0000 (+0200)
Subject: wolfSSL: Use variable type wc_Md5 instead of md5
X-Git-Tag: v_4_0_0~68
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/man-page/static/@default-cgi@show-status?a=commitdiff_plain;h=6c44c20c21ee03820b9d526af0b74818e7ffbda6;p=privoxy.git

wolfSSL: Use variable type wc_Md5 instead of md5

As Roland reported [0] the latter may not be available.

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

diff --git a/wolfssl.c b/wolfssl.c
index 0ca0605f..0357efa1 100644
--- a/wolfssl.c
+++ b/wolfssl.c
@@ -736,7 +736,7 @@ exit:
  *********************************************************************/
 static int host_to_hash(struct client_state *csp)
 {
-   Md5 md5;
+   wc_Md5 md5;
    int ret;
    size_t i;