summarylogtreecommitdiffstats
path: root/openssl-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openssl-fix.patch')
-rw-r--r--openssl-fix.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/openssl-fix.patch b/openssl-fix.patch
deleted file mode 100644
index 7ed7f54f644..00000000000
--- a/openssl-fix.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/src/lib/net/SecureSocket.cpp b/src/lib/net/SecureSocket.cpp
-index 7076c764e..1e35c216f 100644
---- a/src/lib/net/SecureSocket.cpp
-+++ b/src/lib/net/SecureSocket.cpp
-@@ -805,10 +805,15 @@ SecureSocket::showSecureCipherInfo()
- showCipherStackDesc(sStack);
- }
-
-- // m_ssl->m_ssl->session->ciphers is not forward compatable, In future release
-- // of OpenSSL, it's not visible, need to use SSL_get_client_ciphers() instead
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+ // m_ssl->m_ssl->session->ciphers is not forward compatable,
-+ // In future release of OpenSSL, it's not visible,
- STACK_OF(SSL_CIPHER) * cStack = m_ssl->m_ssl->session->ciphers;
-- if (cStack == NULL) {
-+#else
-+ // Use SSL_get_client_ciphers() for newer versions
-+ STACK_OF(SSL_CIPHER) * cStack = SSL_get_client_ciphers(m_ssl->m_ssl);
-+#endif
-+ if (cStack == NULL) {
- LOG((CLOG_DEBUG1 "remote cipher list not available"));
- }
- else {