Skip to content

Commit c2dc51e

Browse files
authored
Merge pull request libgit2#6340 from vishwin/main
ntlmclient: LibreSSL 3.5 removed HMAC_CTX_cleanup
2 parents 1a94d97 + 628ebbd commit c2dc51e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deps/ntlmclient/crypt_openssl.c

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

4545
#endif
4646

47-
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !LIBRESSL_VERSION_NUMBER) || defined(CRYPT_OPENSSL_DYNAMIC)
47+
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || \
48+
(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x03050000fL) || \
49+
defined(CRYPT_OPENSSL_DYNAMIC)
4850

4951
static inline void HMAC_CTX_cleanup(HMAC_CTX *ctx)
5052
{

0 commit comments

Comments
 (0)