summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-12-30 16:35:24 +0000
committerGitHub <noreply@github.com>2016-12-30 16:35:24 +0000
commit42ad85ef01e372f1d65b9c561c1895d954450811 (patch)
tree305655c251b4bf95afb44381068a0c74fbc3aeea
parent238b8ccd1aeec0e0d6e50c5050527a8107304bfb (diff)
parent567b83de5434abcc40eeeabb8167979240f27a8f (diff)
downloadlibgit2-42ad85ef01e372f1d65b9c561c1895d954450811.tar.gz
Merge pull request #4043 from fudanchii/fudanchii/openbsd
Fix BIO_* functions method linking when compiled with libressl (OpenBSD).
-rw-r--r--src/openssl_stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl_stream.h b/src/openssl_stream.h
index b769437ae..f5e59dab1 100644
--- a/src/openssl_stream.h
+++ b/src/openssl_stream.h
@@ -27,7 +27,7 @@ extern int git_openssl_stream_new(git_stream **out, const char *host, const char
-# if OPENSSL_VERSION_NUMBER < 0x10100000L
+# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name)
{