[Privoxy-commits] [privoxy] 03/09: ssl_send_certificate_error(): Send the error message with status code 403 instead of 200

User Git git at git.privoxy.org
Wed Jan 20 15:24:29 UTC 2021


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

git pushed a commit to branch master
in repository privoxy.

commit f048c3c93d10377496623dfc13f5b8978f443c16
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Jan 18 18:33:11 2021 +0100

    ssl_send_certificate_error(): Send the error message with status code 403 instead of 200
---
 ssl_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
       "<!DOCTYPE html>\n"

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


More information about the Privoxy-commits mailing list