diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2022-01-04 22:46:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 22:46:10 -0500 |
commit | 82f526a9129373d899782c411774c8e396cae4e4 (patch) | |
tree | b53864cb01399922ed05f1fd3a0fe145b26197c8 | |
parent | 50b4d53ef3897fd4066cd74734f4a6e141a64201 (diff) | |
parent | 6aa3603ae44b077c8dc0a506e3cdf989cd3a473e (diff) | |
download | libgit2-82f526a9129373d899782c411774c8e396cae4e4.tar.gz |
Merge pull request #6157 from boretrk/hmac_ctx_cleanup
ntmlclient: fix linking with libressl
-rw-r--r-- | deps/ntlmclient/crypt_openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/ntlmclient/crypt_openssl.c b/deps/ntlmclient/crypt_openssl.c index 463eae4f8..bab8276ac 100644 --- a/deps/ntlmclient/crypt_openssl.c +++ b/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) { |