summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-04-19 11:32:57 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-04-19 11:36:53 +0100
commita89b6bd32a650871031f4fce9b80ab6b7eb47d8e (patch)
treede35d027992c47a1349f56bfea5bea0b4dfb0b3a
parentbf624a64a4395692f94ad304126a81d35a6d95df (diff)
OpenSSL: More info on accept "version too low"
-rw-r--r--src/src/tls-openssl.c2
1 files changed, 1 insertions, 1 deletions
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);