trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [3/3] git commit: TS-2776: Core dump inside openssl library
Date Tue, 03 Jun 2014 01:14:12 GMT
TS-2776: Core dump inside openssl library


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/5fa8f077
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/5fa8f077
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/5fa8f077

Branch: refs/heads/5.0.x
Commit: 5fa8f07725d1cffbb6418f121ce715099be9fe6c
Parents: c4a0d62
Author: Bryan Call <bcall@apache.org>
Authored: Mon Jun 2 15:19:31 2014 -0700
Committer: Bryan Call <bcall@apache.org>
Committed: Mon Jun 2 15:19:31 2014 -0700

----------------------------------------------------------------------
 CHANGES                | 2 ++
 iocore/net/SSLUtils.cc | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/5fa8f077/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index c35a52b..6d8afe7 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 5.0.0
 
+  *) [TS-2776] Core dump inside openssl library
+
   *) [TS-2845] Commit e6b9cb533 causes problems with stats_over_http
 
   *) [TS-1981] Url remap and IPAllow method filtering is broken with non-wks method

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/5fa8f077/iocore/net/SSLUtils.cc
----------------------------------------------------------------------
diff --git a/iocore/net/SSLUtils.cc b/iocore/net/SSLUtils.cc
index 8d80c90..99e4d6d 100644
--- a/iocore/net/SSLUtils.cc
+++ b/iocore/net/SSLUtils.cc
@@ -903,8 +903,10 @@ SSLInitServerContext(
   }
 
 #ifdef SSL_MODE_RELEASE_BUFFERS
+#if OPENSSL_VERSION_NUMBER > 0x1000107fL
   SSL_CTX_set_mode(ctx, SSL_MODE_RELEASE_BUFFERS);
 #endif
+#endif
   SSL_CTX_set_quiet_shutdown(ctx, 1);
 
   // pass phrase dialog configuration


Mime
View raw message