Link Here
|
1 |
--- src/core/network-openssl.c.orig 2017-03-10 16:31:03 UTC |
1 |
--- src/core/network-openssl.c.orig 2018-02-14 23:53:44 UTC |
2 |
+++ src/core/network-openssl.c |
2 |
+++ src/core/network-openssl.c |
3 |
@@ -434,6 +434,7 @@ static GIOChannel *irssi_ssl_get_iochann |
3 |
@@ -47,7 +47,8 @@ |
|
|
4 |
|
5 |
/* OpenSSL 1.1.0 also introduced some useful additions to the api */ |
6 |
#if (OPENSSL_VERSION_NUMBER >= 0x10002000L) |
7 |
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined (LIBRESSL_VERSION_NUMBER) |
8 |
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \ |
9 |
+ (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) |
10 |
static int X509_STORE_up_ref(X509_STORE *vfy) |
11 |
{ |
12 |
int n; |
13 |
@@ -476,6 +477,7 @@ static GIOChannel *irssi_ssl_get_iochann |
4 |
if (SSL_CTX_set_cipher_list(ctx, ciphers) != 1) |
14 |
if (SSL_CTX_set_cipher_list(ctx, ciphers) != 1) |
5 |
g_warning("No valid SSL cipher suite could be selected"); |
15 |
g_warning("No valid SSL cipher suite could be selected"); |
6 |
} |
16 |
} |