SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
net/barrier/patches/patch-src_lib_net_SecureSocket_cpp
Normal file
15
net/barrier/patches/patch-src_lib_net_SecureSocket_cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
Use SSL_get_client_ciphers instead of reaching into the SSL_SESSION
|
||||
https://github.com/debauchee/barrier/pull/1156
|
||||
|
||||
Index: src/lib/net/SecureSocket.cpp
|
||||
--- src/lib/net/SecureSocket.cpp.orig
|
||||
+++ src/lib/net/SecureSocket.cpp
|
||||
@@ -849,7 +849,7 @@ SecureSocket::showSecureCipherInfo()
|
||||
showCipherStackDesc(sStack);
|
||||
}
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
+#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;
|
Loading…
Add table
Add a link
Reference in a new issue