aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-03-02 04:18:14 +0800
committeryuri <yuri@FreeBSD.org>2018-03-02 04:18:14 +0800
commite98955390e5b2e30e911bb492dad64c67e5a46cb (patch)
treefabc261b16ce93bab9381e5d6685125ede9b1187 /sysutils
parent8b61e8d2fc2f196f179601d67603ab58577eacd8 (diff)
downloadfreebsd-ports-gnome-e98955390e5b2e30e911bb492dad64c67e5a46cb.tar.gz
freebsd-ports-gnome-e98955390e5b2e30e911bb492dad64c67e5a46cb.tar.zst
freebsd-ports-gnome-e98955390e5b2e30e911bb492dad64c67e5a46cb.zip
sysutils/synergy: Unbreak with libressl.
New patch does it. PR: 226202 Submitted by: w.schwarzenfeld@utanet.at Approved by: tcberner (mentor, implicit)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/synergy/files/patch-src_lib_net_SecureSocket.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/synergy/files/patch-src_lib_net_SecureSocket.cpp b/sysutils/synergy/files/patch-src_lib_net_SecureSocket.cpp
new file mode 100644
index 000000000000..582c985d1ad1
--- /dev/null
+++ b/sysutils/synergy/files/patch-src_lib_net_SecureSocket.cpp
@@ -0,0 +1,11 @@
+--- src/lib/net/SecureSocket.cpp.orig 2018-03-01 20:07:30 UTC
++++ src/lib/net/SecureSocket.cpp
+@@ -807,7 +807,7 @@ SecureSocket::showSecureCipherInfo()
+ showCipherStackDesc(sStack);
+ }
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+ // 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;