From: Fabian Keil Date: Mon, 24 Aug 2020 09:23:28 +0000 (+0200) Subject: create_client_ssl_connection(): Improve the error message emitted when the handshake... X-Git-Tag: v_3_0_29~205 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/copyright.html?a=commitdiff_plain;h=af6e6f07e46f159ec65eb4fe9f8a819551f74007;p=privoxy.git create_client_ssl_connection(): Improve the error message emitted when the handshake fails Sponsored by: Robert Klemme --- diff --git a/openssl.c b/openssl.c index 51fcad58..99ab6c32 100644 --- a/openssl.c +++ b/openssl.c @@ -821,7 +821,8 @@ extern int create_client_ssl_connection(struct client_state *csp) csp->http->hash_of_host_hex); if (BIO_do_handshake(ssl_attr->openssl_attr.bio) != 1) { - log_ssl_errors(LOG_LEVEL_ERROR, "BIO_do_handshake failed"); + log_ssl_errors(LOG_LEVEL_ERROR, + "The TLS/SSL handshake with the client failed"); ret = -1; goto exit; }