From a89b6bd32a650871031f4fce9b80ab6b7eb47d8e Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 19 Apr 2020 11:32:57 +0100 Subject: [PATCH 1/1] OpenSSL: More info on accept "version too low" --- src/src/tls-openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2