Browse Source

Make openssl 0.9.8l log message accurate

fixes 4837
Nick Mathewson 12 years ago
parent
commit
411cf8f714
2 changed files with 8 additions and 2 deletions
  1. 4 0
      changes/bug4837
  2. 4 2
      src/common/tortls.c

+ 4 - 0
changes/bug4837

@@ -0,0 +1,4 @@
+  o Minor bugfixes:
+    - Fix the log message describing how we work around discovering
+      that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
+      4837; bugfix on 0.2.2.9-alpha.

+ 4 - 2
src/common/tortls.c

@@ -475,8 +475,10 @@ tor_tls_init(void)
      * a test of intelligence and determination.
      */
     if (version > OPENSSL_V(0,9,8,'k') && version <= OPENSSL_V(0,9,8,'l')) {
-      log_notice(LD_GENERAL, "OpenSSL %s looks like version 0.9.8l; "
-                 "I will try SSL3_FLAGS to enable renegotation.",
+      log_notice(LD_GENERAL, "OpenSSL %s looks like version 0.9.8l, but "
+                 "some vendors have backported renegotiation code from "
+                 "0.9.8m without updating the version number. "
+                 "I will try SSL3_FLAGS and SSL_OP to enable renegotation.",
                  SSLeay_version(SSLEAY_VERSION));
       use_unsafe_renegotiation_flag = 1;
       use_unsafe_renegotiation_op = 1;