From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 15 Jun 2020 08:34:14 +0000 (+0200)
Subject: ssl_send_certificate_error(): Add a doctype
X-Git-Tag: v_3_0_29~274
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/developer-manual/static/diff?a=commitdiff_plain;h=feac1af513ca52a316c3aa60f1bc1a2c63111c13;p=privoxy.git

ssl_send_certificate_error(): Add a doctype

Sponsored by: Robert Klemme
---

diff --git a/ssl.c b/ssl.c
index 25f86e4e..860a243f 100644
--- a/ssl.c
+++ b/ssl.c
@@ -2064,6 +2064,7 @@ 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"
+      "<!DOCTYPE html>\n"
       "<html><head><title>Server certificate verification failed</title></head>\n"
       "<body><h1>Server certificate verification failed</h1>\n"
       "<p><a href=\"https://" CGI_SITE_2_HOST "/\">Privoxy</a> was unable "