summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author John Gordon2020-05-07 20:25:38 +0200
committer Matteo Bernardini2021-02-27 11:07:02 +0100
commitbe54d8c7e9166917ae523b3592c5603c60df2012 (patch)
tree2e843e858a5cfd168ee140b321990181c70eb217
parent9aa1498acb0841d4ce656319a4de5cc157b4e2ed (diff)
downloadslackbuilds-synergy.tar.gz
network/synergy: Patch for openssl-1.1.x.synergy
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-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 . \