From d822e609632f43af1baf34306e2be9c8a40a5714 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 6 Jun 2020 09:28:00 +0200 Subject: [PATCH] ssl_send_certificate_error(): Make it more obvious that the message is coming from Privoxy Suggested by: Roland Sponsored by: Robert Klemme --- ssl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ssl.c b/ssl.c index 313174fe..3e2d8a53 100644 --- a/ssl.c +++ b/ssl.c @@ -2064,7 +2064,10 @@ extern void ssl_send_certificate_error(struct client_state *csp) "HTTP/1.1 200 OK\r\n" "Content-Type: text/html\r\n" "Connection: close\r\n\r\n" - "

Server certificate verification failed

Reason: "; + "

Server certificate verification failed

" + "

Privoxy was unable " + "to securely connnect to the destination server.

" + "

Reason: "; const char message_end[] = "\r\n\r\n"; char reason[INVALID_CERT_INFO_BUF_SIZE]; memset(reason, 0, sizeof(reason)); -- 2.39.2