summaryrefslogtreecommitdiffstats
path: root/network/synergy/030_openssl.diff
blob: 9aefa07d7d5aebef33dc043d2c7622ff87dc6ca3 (plain)
--- src/lib/net/SecureSocket.cpp.orig	2020-05-06 17:55:18.744800427 -0500
+++ src/lib/net/SecureSocket.cpp	2020-05-06 17:55:05.529584786 -0500
@@ -807,7 +807,7 @@
 
 	// 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
-	STACK_OF(SSL_CIPHER) * cStack = m_ssl->m_ssl->session->ciphers;
+    STACK_OF(SSL_CIPHER) * cStack = SSL_get_client_ciphers(m_ssl->m_ssl);
 		if (cStack == NULL) {
 		LOG((CLOG_DEBUG1 "remote cipher list not available"));
 	}