diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-06-07 07:38:06 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2017-06-07 07:38:06 +0200 |
commit | 40139fe6e62e487e6ccae26df6f9b1ddc9b30b36 (patch) | |
tree | a30870cd62a7195ab5b4ac3ee36ae68901b2b4fb | |
parent | dd0aa811dd329f5040c70f7aac514b3757eb2453 (diff) | |
parent | f28744a5a3b11e05d64c4696ad5e9399d0b23b96 (diff) | |
download | libgit2-40139fe6e62e487e6ccae26df6f9b1ddc9b30b36.tar.gz |
Merge pull request #4251 from Keruspe/master
Fix build with libressl
-rw-r--r-- | src/openssl_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl_stream.c b/src/openssl_stream.c index 841dcce50..759c5015f 100644 --- a/src/openssl_stream.c +++ b/src/openssl_stream.c @@ -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 |