[tor-commits] [tor/release-0.2.8] Bug 19406: OpenSSL removed SSL_R_RECORD_TOO_LARGE in 1.1.0.

nickm at torproject.org nickm at torproject.org
Tue Jun 14 16:23:06 UTC 2016


commit 6ddef1f7e0fe36f6e0b87873dfef5809dd593539
Author: Yawning Angel <yawning at schwanenlied.me>
Date:   Tue Jun 14 06:22:19 2016 +0000

    Bug 19406: OpenSSL removed SSL_R_RECORD_TOO_LARGE in 1.1.0.
    
    This is a logging onlu change, we were suppressing the severity down to
    INFO when it occured (treating it as "Mostly harmless").  Now it is no
    more.
---
 src/common/tortls.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/common/tortls.c b/src/common/tortls.c
index 7d070c5..b68f5df 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -228,7 +228,9 @@ tor_tls_log_one_error(tor_tls_t *tls, unsigned long err,
     case SSL_R_HTTP_REQUEST:
     case SSL_R_HTTPS_PROXY_REQUEST:
     case SSL_R_RECORD_LENGTH_MISMATCH:
+#ifndef OPENSSL_1_1_API
     case SSL_R_RECORD_TOO_LARGE:
+#endif
     case SSL_R_UNKNOWN_PROTOCOL:
     case SSL_R_UNSUPPORTED_PROTOCOL:
       severity = LOG_INFO;





More information about the tor-commits mailing list