Merge pull request #4251 from Keruspe/master

Fix build with libressl
This commit is contained in:
Patrick Steinhardt 2017-06-07 07:38:06 +02:00
commit 40139fe6e6

View File

@ -103,7 +103,7 @@ int git_openssl_stream_global_init(void)
ssl_opts |= SSL_OP_NO_COMPRESSION;
#endif
#if OPENSSL_VERSION_NUMBER < 0x10100000L
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
SSL_load_error_strings();
OpenSSL_add_ssl_algorithms();
#else