From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 10 Feb 2021 02:33:46 +0000 (+0100)
Subject: ssl_send_certificate_error(): End body with a single new line
X-Git-Tag: v_3_0_32~53
X-Git-Url: http://www.privoxy.org/gitweb/faq/static/user-manual/@default-cgi@toggle?a=commitdiff_plain;h=172e342a4428b2dafcd6b6b1cf1c8181b77a76a5;p=privoxy.git

ssl_send_certificate_error(): End body with a single new line
---

diff --git a/ssl_common.c b/ssl_common.c
index e46747ec..ac146f82 100644
--- a/ssl_common.c
+++ b/ssl_common.c
@@ -337,7 +337,7 @@ extern void ssl_send_certificate_error(struct client_state *csp)
       "<p><a href=\"https://" CGI_SITE_2_HOST "/\">Privoxy</a> was unable "
       "to securely connect to the destination server.</p>"
       "<p>Reason: ";
-   const char message_end[] = "</body></html>\r\n\r\n";
+   const char message_end[] = "</body></html>\n";
    char reason[INVALID_CERT_INFO_BUF_SIZE];
    memset(reason, 0, sizeof(reason));