From: Fabian Keil Date: Mon, 18 Jan 2021 17:33:11 +0000 (+0100) Subject: ssl_send_certificate_error(): Send the error message with status code 403 instead... X-Git-Tag: v_3_0_30~66 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=f048c3c93d10377496623dfc13f5b8978f443c16;ds=sidebyside ssl_send_certificate_error(): Send the error message with status code 403 instead of 200 --- diff --git a/ssl_common.c b/ssl_common.c index 879111e9..6ed067f9 100644 --- a/ssl_common.c +++ b/ssl_common.c @@ -328,7 +328,7 @@ extern void ssl_send_certificate_error(struct client_state *csp) /* Header of message with certificate information */ const char message_begin[] = - "HTTP/1.1 200 OK\r\n" + "HTTP/1.1 403 Certificate validation failed\r\n" "Content-Type: text/html\r\n" "Connection: close\r\n\r\n" "\n"