From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 24 Jan 2021 11:00:45 +0000 (+0100)
Subject: ssl_send_certificate_error(): Update the LOG_LEVEL_CLF message to use status code 403
X-Git-Tag: v_3_0_30~23
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/user-manual/static/@default-cgi@show-url-info?a=commitdiff_plain;h=242f06f513b5a1f034b15f466eb242db546424b3;p=privoxy.git

ssl_send_certificate_error(): Update the LOG_LEVEL_CLF message to use status code 403

Follow-up for f048c3c93d1.
---

diff --git a/ssl_common.c b/ssl_common.c
index 6ed067f9..e46747ec 100644
--- a/ssl_common.c
+++ b/ssl_common.c
@@ -414,7 +414,7 @@ extern void ssl_send_certificate_error(struct client_state *csp)
 
    log_error(LOG_LEVEL_CRUNCH, "Certificate error: %s: https://%s%s",
       reason, csp->http->hostport, csp->http->path);
-   log_error(LOG_LEVEL_CLF, "%s - - [%T] \"%s https://%s%s %s\" 200 %lu",
+   log_error(LOG_LEVEL_CLF, "%s - - [%T] \"%s https://%s%s %s\" 403 %lu",
       csp->ip_addr_str, csp->http->gpc, csp->http->hostport, csp->http->path,
       csp->http->version, message_len-head_length);