Skip to content

Commit 82f526a

Browse files
authored
Merge pull request libgit2#6157 from boretrk/hmac_ctx_cleanup
ntmlclient: fix linking with libressl
2 parents 50b4d53 + 6aa3603 commit 82f526a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/ntlmclient/crypt_openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ static inline void HMAC_CTX_free(HMAC_CTX *ctx)
4444

4545
#endif
4646

47-
#if OPENSSL_VERSION_NUMBER >= 0x10100000L || defined(CRYPT_OPENSSL_DYNAMIC)
47+
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !LIBRESSL_VERSION_NUMBER) || defined(CRYPT_OPENSSL_DYNAMIC)
4848

4949
static inline void HMAC_CTX_cleanup(HMAC_CTX *ctx)
5050
{

0 commit comments

Comments
 (0)