From 172e342a4428b2dafcd6b6b1cf1c8181b77a76a5 Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 10 Feb 2021 03:33:46 +0100
Subject: [PATCH] ssl_send_certificate_error(): End body with a single new line

---
 ssl_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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));
 
-- 
2.49.0