[Privoxy-commits] [privoxy] 19/19: OpenSSL: Log a message if SSL_get_peer_cert_chain() fails

User Git git at git.privoxy.org
Thu Jun 11 08:29:23 CEST 2026


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit e67862b02f06cbccad7990dfcecf3166b634c4f9
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sat Jun 6 07:38:11 2026 +0200

    OpenSSL: Log a message if SSL_get_peer_cert_chain() fails
---
 openssl.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/openssl.c b/openssl.c
index 5cb7b25a..3a76a4c0 100644
--- a/openssl.c
+++ b/openssl.c
@@ -1170,6 +1170,12 @@ extern int create_server_ssl_connection(struct client_state *csp)
          }
       }
    }
+   else
+   {
+      log_error(LOG_LEVEL_ERROR,
+         "Failed to get the TLS certificate chain for %s",
+         csp->http->hostport);
+   }
 
    if (!csp->dont_verify_certificate)
    {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list