Browse Source

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.
Yawning Angel 10 years ago
parent
commit
6ddef1f7e0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/common/tortls.c

+ 2 - 0
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;