From: Jeremy Harris Date: Sun, 19 Apr 2020 10:32:57 +0000 (+0100) Subject: OpenSSL: More info on accept "version too low" X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/a89b6bd32a650871031f4fce9b80ab6b7eb47d8e?hp=bf624a64a4395692f94ad304126a81d35a6d95df OpenSSL: More info on accept "version too low" --- diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 3f3fd8aa8..26cc986c5 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -2765,7 +2765,7 @@ if (rc <= 0) { uschar * s = US"SSL_accept"; int r = ERR_GET_REASON(ERR_peek_error()); - if ( r == SSL_R_WRONG_VERSION_NUMBER + if ( r == SSL_R_WRONG_VERSION_NUMBER || r == SSL_R_VERSION_TOO_LOW || r == SSL_R_UNKNOWN_PROTOCOL || r == SSL_R_UNSUPPORTED_PROTOCOL) s = string_sprintf("%s (%s)", s, SSL_get_version(server_ssl)); (void) tls_error(s, NULL, sigalrm_seen ? US"timed out" : NULL, errstr);