diff options
author | John Gordon <jgor@utexas.edu> | 2020-05-07 20:25:38 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-18 00:01:01 -0500 |
commit | f33d92da2f38ea6a88b9d27085d1e4e874bcb666 (patch) | |
tree | f50ffd3c76a26f8635a673467feab72cb8cd63fa /network | |
parent | 9143dfc964c5798cd1f8a70530dd37868afe50c4 (diff) | |
download | slackbuilds-f33d92da2f38ea6a88b9d27085d1e4e874bcb666.tar.gz |
network/synergy: Patch for openssl-1.1.x.
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/synergy/030_openssl.diff | 11 | ||||
-rw-r--r-- | network/synergy/synergy.SlackBuild | 1 |
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 . \ |