diff options
author | Peter Pettersson <boretrk@hotmail.com> | 2021-12-31 01:50:45 +0100 |
---|---|---|
committer | Peter Pettersson <boretrk@hotmail.com> | 2021-12-31 01:50:45 +0100 |
commit | 6aa3603ae44b077c8dc0a506e3cdf989cd3a473e (patch) | |
tree | b53864cb01399922ed05f1fd3a0fe145b26197c8 | |
parent | 50b4d53ef3897fd4066cd74734f4a6e141a64201 (diff) | |
download | libgit2-6aa3603ae44b077c8dc0a506e3cdf989cd3a473e.tar.gz |
ntmlclient: don't declare dummy HMAC_CTX_cleanup when building 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) { |