[Privoxy-commits] [privoxy] 02/16: wolfssl: Warn if HAVE_SECURE_RENEGOTIATION is unavailable
User Git
git at git.privoxy.org
Mon Dec 22 11:30:08 CET 2025
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit f8ca91dbfab0dced1dc092627cd490849769c95b
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Thu Dec 11 14:49:08 2025 +0100
wolfssl: Warn if HAVE_SECURE_RENEGOTIATION is unavailable
... and don't suggest to use HAVE_RENEGOTIATION_INDICATION instead.
---
wolfssl.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/wolfssl.c b/wolfssl.c
index 41dc8663..9bdc8b80 100644
--- a/wolfssl.c
+++ b/wolfssl.c
@@ -1153,15 +1153,13 @@ extern int create_server_ssl_connection(struct client_state *csp)
}
#ifdef HAVE_SECURE_RENEGOTIATION
-#warning wolfssl has been compiled with HAVE_SECURE_RENEGOTIATION while you probably want HAVE_RENEGOTIATION_INDICATION
if(wolfSSL_UseSecureRenegotiation(ssl) != WOLFSSL_SUCCESS)
{
log_error(LOG_LEVEL_ERROR,
"Failed to enable 'Secure' Renegotiation. Continuing anyway.");
}
-#endif
-#ifndef HAVE_RENEGOTIATION_INDICATION
-#warning Looks like wolfssl has been compiled without HAVE_RENEGOTIATION_INDICATION
+#else
+#warning Looks like wolfssl has been compiled without HAVE_SECURE_RENEGOTIATION
#endif
log_error(LOG_LEVEL_CONNECT,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list