From: Fabian Keil Date: Mon, 24 Aug 2020 13:02:52 +0000 (+0200) Subject: create_server_ssl_connection(): Improve the error message emitted when the handshake... X-Git-Tag: v_3_0_29~204 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=60626c283be18f042fd0c77488451820af897113;ds=sidebyside create_server_ssl_connection(): Improve the error message emitted when the handshake fails Sponsored by: Robert Klemme --- diff --git a/openssl.c b/openssl.c index 99ab6c32..3125021f 100644 --- a/openssl.c +++ b/openssl.c @@ -1055,7 +1055,8 @@ extern int create_server_ssl_connection(struct client_state *csp) if (BIO_do_handshake(ssl_attrs->bio) != 1) { - log_ssl_errors(LOG_LEVEL_ERROR, "BIO_do_handshake failed"); + log_ssl_errors(LOG_LEVEL_ERROR, + "The TLS/SSL handshake with the server failed"); ret = -1; goto exit; }