mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
devel/libgit2: fix linking with libressl
Patch upstream: https://github.com/libgit2/libgit2/pull/6157 PR: 260216 Reported by: lysfjord.daniel@smokepit.net
This commit is contained in:
parent
72862a3740
commit
7679b30c46
11
devel/libgit2/files/patch-deps_ntlmclient_crypt__openssl.c
Normal file
11
devel/libgit2/files/patch-deps_ntlmclient_crypt__openssl.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- deps/ntlmclient/crypt_openssl.c.orig 2022-01-06 08:12:56 UTC
|
||||
+++ deps/ntlmclient/crypt_openssl.c
|
||||
@@ -44,7 +44,7 @@ static inline void HMAC_CTX_free(HMAC_CTX *ctx)
|
||||
|
||||
#endif
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L || defined(CRYPT_OPENSSL_DYNAMIC)
|
||||
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !LIBRESSL_VERSION_NUMBER) || defined(CRYPT_OPENSSL_DYNAMIC)
|
||||
|
||||
static inline void HMAC_CTX_cleanup(HMAC_CTX *ctx)
|
||||
{
|
Loading…
Reference in New Issue
Block a user