From af6e6f07e46f159ec65eb4fe9f8a819551f74007 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 24 Aug 2020 11:23:28 +0200 Subject: [PATCH 1/1] create_client_ssl_connection(): Improve the error message emitted when the handshake fails Sponsored by: Robert Klemme --- openssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.2