[PATCH 2/2] LibreSSL doesn't have SSL_CIPHER_find

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Philipp Ammann <philipp.ammann@xxxxxxxxx>
---
 openssl-dtls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openssl-dtls.c b/openssl-dtls.c
index b954e2b3..71027f97 100644
--- a/openssl-dtls.c
+++ b/openssl-dtls.c
@@ -315,7 +315,7 @@ static unsigned int psk_callback(SSL *ssl, const char *hint, char *identity,
 
 #endif
 
-#if OPENSSL_VERSION_NUMBER < 0x10002000L
+#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER)
 static const SSL_CIPHER *SSL_CIPHER_find(SSL *ssl, const unsigned char *ptr)
 {
     return ssl->method->get_cipher_by_char(ptr);
-- 
2.22.0


_______________________________________________
openconnect-devel mailing list
openconnect-devel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/openconnect-devel



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux