Added
Link Here
|
1 |
--- src/vendor/libgit2-sys/libgit2/src/streams/openssl.c.orig 2018-05-07 18:50:07 UTC |
2 |
+++ src/vendor/libgit2-sys/libgit2/src/streams/openssl.c |
3 |
@@ -104,7 +104,8 @@ 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 || \ |
9 |
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) |
10 |
SSL_load_error_strings(); |
11 |
OpenSSL_add_ssl_algorithms(); |
12 |
#else |