create_client_ssl_connection(): Improve the error message emitted when the handshake...
authorFabian Keil <fk@fabiankeil.de>
Mon, 24 Aug 2020 09:23:28 +0000 (11:23 +0200)
committerFabian Keil <fk@fabiankeil.de>
Tue, 1 Sep 2020 10:22:42 +0000 (12:22 +0200)
Sponsored by: Robert Klemme

openssl.c

index 51fcad5..99ab6c3 100644 (file)
--- 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;
    }