X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=ssl_common.c;h=e46747ec59a05c0510a71f2922aa1aaa1c627500;hb=f165809077f7b3c48ebc6aa074b64e7364f3e1bc;hp=879111e9bc2fc47bbe4ddb858f422a480f3b01dd;hpb=ddd7b573610b81a4a088603f32433768c6c2c0a2;p=privoxy.git diff --git a/ssl_common.c b/ssl_common.c index 879111e9..e46747ec 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" "\n" @@ -414,7 +414,7 @@ extern void ssl_send_certificate_error(struct client_state *csp) log_error(LOG_LEVEL_CRUNCH, "Certificate error: %s: https://%s%s", reason, csp->http->hostport, csp->http->path); - log_error(LOG_LEVEL_CLF, "%s - - [%T] \"%s https://%s%s %s\" 200 %lu", + log_error(LOG_LEVEL_CLF, "%s - - [%T] \"%s https://%s%s %s\" 403 %lu", csp->ip_addr_str, csp->http->gpc, csp->http->hostport, csp->http->path, csp->http->version, message_len-head_length);