void-packages/srcpkgs/stunnel/patches/stunnel-3.40.patch
2017-01-28 22:09:31 -05:00

11 lines
375 B
Diff

--- src/ctx.c.orig 2017-01-19 03:51:32.000000000 -0500
+++ src/ctx.c 2017-01-28 22:07:17.978178595 -0500
@@ -287,7 +287,7 @@
#ifndef OPENSSL_NO_DH
-#if OPENSSL_VERSION_NUMBER<0x10100000L
+#if OPENSSL_VERSION_NUMBER<0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
NOEXPORT STACK_OF(SSL_CIPHER) *SSL_CTX_get_ciphers(const SSL_CTX *ctx) {
return ctx->cipher_list;
}