summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-01-11 15:41:46 -0500
committerNick Mathewson <nickm@torproject.org>2012-01-11 15:41:46 -0500
commit411cf8f71455926db119259545ac8d5c80a5fb58 (patch)
tree86ecec14ac0d2340a5ff24e5052867e57f550c82
parentb8675e5fe35a737078b210d5c5c7440af3f2b145 (diff)
downloadtor-411cf8f71455926db119259545ac8d5c80a5fb58.tar.gz
tor-411cf8f71455926db119259545ac8d5c80a5fb58.zip
Make openssl 0.9.8l log message accurate
fixes 4837
-rw-r--r--changes/bug48374
-rw-r--r--src/common/tortls.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/changes/bug4837 b/changes/bug4837
new file mode 100644
index 0000000000..16a61d1b39
--- /dev/null
+++ b/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.
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 28bb3f9b41..908337f799 100644
--- a/src/common/tortls.c
+++ b/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;