summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--network/synergy/030_openssl.diff11
-rw-r--r--network/synergy/synergy.SlackBuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/network/synergy/030_openssl.diff b/network/synergy/030_openssl.diff
new file mode 100644
index 0000000000..9aefa07d7d
--- /dev/null
+++ b/network/synergy/030_openssl.diff
@@ -0,0 +1,11 @@
+--- 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"));
+ }
diff --git a/network/synergy/synergy.SlackBuild b/network/synergy/synergy.SlackBuild
index 21d6a34f49..5dba4659ae 100644
--- a/network/synergy/synergy.SlackBuild
+++ b/network/synergy/synergy.SlackBuild
@@ -68,6 +68,7 @@ tar xvf $CWD/$SRCNAM-$VERSION-stable.tar.gz
cd $SRCNAM-$VERSION-stable
patch -p0 < $CWD/010_include_dns_sd.diff
patch -p0 < $CWD/020_toolchain_commands.diff
+patch -p0 < $CWD/030_openssl.diff
chown -R root:root .
find -L . \