Skip to content

Commit 40139fe

Browse files
committed
Merge pull request libgit2#4251 from Keruspe/master
Fix build with libressl
2 parents dd0aa81 + f28744a commit 40139fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openssl_stream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ int git_openssl_stream_global_init(void)
103103
ssl_opts |= SSL_OP_NO_COMPRESSION;
104104
#endif
105105

106-
#if OPENSSL_VERSION_NUMBER < 0x10100000L
106+
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
107107
SSL_load_error_strings();
108108
OpenSSL_add_ssl_algorithms();
109109
#else

0 commit comments

Comments
 (0)