[GH-ISSUE #12] fix for libressl #7

Closed
opened 2026-05-05 04:41:27 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @truatpasteurdotfr on GitHub (Feb 23, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/12

https://github.com/symless/synergy-core/pull/6182

Meta: #7

requires to build on alpinelinux

Originally created by @truatpasteurdotfr on GitHub (Feb 23, 2018). Original GitHub issue: https://github.com/debauchee/barrier/issues/12 https://github.com/symless/synergy-core/pull/6182 Meta: #7 requires to build on alpinelinux
Author
Owner

@truatpasteurdotfr commented on GitHub (Feb 23, 2018):

--- a/src/lib/net/SecureSocket.cpp
+++ b/src/lib/net/SecureSocket.cpp
@@ -814,7 +814,7 @@ SecureSocket::showSecureCipherInfo()
         showCipherStackDesc(sStack);
     }
 
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) // see PR for synergy-core 6182
 	// 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;
<!-- gh-comment-id:368156572 --> @truatpasteurdotfr commented on GitHub (Feb 23, 2018): ``` --- a/src/lib/net/SecureSocket.cpp +++ b/src/lib/net/SecureSocket.cpp @@ -814,7 +814,7 @@ SecureSocket::showSecureCipherInfo() showCipherStackDesc(sStack); } -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) // see PR for synergy-core 6182 // 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; ```
Author
Owner

@walker0643 commented on GitHub (Feb 24, 2018):

Is this the only thing needed to fix compatibility with LibreSSL?

<!-- gh-comment-id:368244554 --> @walker0643 commented on GitHub (Feb 24, 2018): Is this the only thing needed to fix compatibility with LibreSSL?
Author
Owner

@truatpasteurdotfr commented on GitHub (Feb 24, 2018):

it's the only changed I made to have barrier build with libressl on alpine...

<!-- gh-comment-id:368263773 --> @truatpasteurdotfr commented on GitHub (Feb 24, 2018): it's the only changed I made to have barrier build with libressl on alpine...
Author
Owner

@walker0643 commented on GitHub (Feb 24, 2018):

b994c94a90 thanks!

<!-- gh-comment-id:368268459 --> @walker0643 commented on GitHub (Feb 24, 2018): https://github.com/debauchee/barrier/commit/b994c94a908f1d3b57f93ef2517bf5c2a9e820c4 thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#7
No description provided.