11 lines
455 B
C
11 lines
455 B
C
--- src/streams/openssl.c.orig 2018-04-23 07:00:42 UTC
|
|
+++ src/streams/openssl.c
|
|
@@ -104,7 +104,7 @@ int git_openssl_stream_global_init(void)
|
|
ssl_opts |= SSL_OP_NO_COMPRESSION;
|
|
#endif
|
|
|
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
|
|
SSL_load_error_strings();
|
|
OpenSSL_add_ssl_algorithms();
|
|
#else
|