From: Yawning Angel Date: Tue, 14 Jun 2016 06:22:19 +0000 (+0000) Subject: Bug 19406: OpenSSL removed SSL_R_RECORD_TOO_LARGE in 1.1.0. X-Git-Tag: tor-0.2.8.4-rc~3^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ddef1f7e0fe36f6e0b87873dfef5809dd593539;p=thirdparty%2Ftor.git 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. --- diff --git a/src/common/tortls.c b/src/common/tortls.c index 7d070c54cd..b68f5dfcdf 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;