]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Bug 19406: OpenSSL removed SSL_R_RECORD_TOO_LARGE in 1.1.0.
authorYawning Angel <yawning@schwanenlied.me>
Tue, 14 Jun 2016 06:22:19 +0000 (06:22 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 14 Jun 2016 16:13:09 +0000 (12:13 -0400)
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

index 7d070c54cd74d0ce62f44ab7dd0beb3866d4ed7b..b68f5dfcdf7adf29eecc39e651da0c49a97f3d65 100644 (file)
@@ -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;