When logging that the certificate verifcation failed, mention the host
[privoxy.git] / ssl.c
diff --git a/ssl.c b/ssl.c
index 8d9a55a..c1a0661 100644 (file)
--- a/ssl.c
+++ b/ssl.c
@@ -820,8 +820,8 @@ extern int create_server_ssl_connection(struct client_state *csp)
 
             /* Log the reason without the trailing new line */
             log_error(LOG_LEVEL_ERROR,
-               "The X509 certificate verification failed: %N",
-               strlen(reason)-1, reason);
+               "X509 certificate verification for %s failed: %N",
+               csp->http->hostport, strlen(reason)-1, reason);
             ret = -1;
          }
          else