View | Details | Raw Unified | Return to bug 219362
Collapse All | Expand All

(-)files/patch-src_openssl__stream.h (+15 lines)
Line 0 Link Here
1
Fix build with LibreSSL
2
3
https://github.com/libgit2/libgit2/commit/42ad85e
4
5
--- src/openssl_stream.h.orig	2017-01-09 20:26:45 UTC
6
+++ src/openssl_stream.h
7
@@ -27,7 +27,7 @@ extern int git_openssl_stream_new(git_stream **out, co
8
 
9
 
10
 
11
-# if OPENSSL_VERSION_NUMBER < 0x10100000L
12
+# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
13
 
14
 GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name)
15
 {

Return to bug 219362