Skip to content

Commit 42ad85e

Browse files
author
Edward Thomson
authored
Merge pull request libgit2#4043 from fudanchii/fudanchii/openbsd
Fix BIO_* functions method linking when compiled with libressl (OpenBSD).
2 parents 238b8cc + 567b83d commit 42ad85e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openssl_stream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern int git_openssl_stream_new(git_stream **out, const char *host, const char
2727

2828

2929

30-
# if OPENSSL_VERSION_NUMBER < 0x10100000L
30+
# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
3131

3232
GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name)
3333
{

0 commit comments

Comments
 (0)