View | Details | Raw Unified | Return to bug 226954
Collapse All | Expand All

(-)devel/libgit2/files/patch-src_openssl__stream.c (+11 lines)
Line 0 Link Here
1
--- src/openssl_stream.c.orig	2017-06-14 11:31:20 UTC
2
+++ src/openssl_stream.c
3
@@ -103,7 +103,7 @@ int git_openssl_stream_global_init(void)
4
 	ssl_opts |= SSL_OP_NO_COMPRESSION;
5
 #endif
6
 
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
9
 	SSL_load_error_strings();
10
 	OpenSSL_add_ssl_algorithms();
11
 #else
(-)devel/libgit2/files/patch-src_openssl__stream.h (+11 lines)
Line 0 Link Here
1
--- src/openssl_stream.h.orig	2017-06-14 11:31:20 UTC
2
+++ src/openssl_stream.h
3
@@ -27,7 +27,7 @@ extern int git_openssl_stream_new(git_st
4
 
5
 
6
 
7
-# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
8
+# if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
9
 
10
 GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name)
11
 {

Return to bug 226954