Merge pull request #4043 from fudanchii/fudanchii/openbsd

Fix BIO_* functions method linking when compiled with libressl (OpenBSD).
This commit is contained in:
Edward Thomson 2016-12-30 16:35:24 +00:00 committed by GitHub
commit 42ad85ef01

View File

@ -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)
{