[exim-cvs] OpenSSL: More info on accept "version too low"

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] OpenSSL: More info on accept "version too low"
Gitweb: https://git.exim.org/exim.git/commitdiff/a89b6bd32a650871031f4fce9b80ab6b7eb47d8e
Commit:     a89b6bd32a650871031f4fce9b80ab6b7eb47d8e
Parent:     bf624a64a4395692f94ad304126a81d35a6d95df
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Apr 19 11:32:57 2020 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Apr 19 11:36:53 2020 +0100


    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 3f3fd8a..26cc986 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);