diff options
author | Patrick Steinhardt <ps@pks.im> | 2020-03-10 22:21:20 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2020-03-13 22:47:42 +0100 |
commit | f2e43a8796f0e799c307d018343e9a1bc92e17c8 (patch) | |
tree | 7e59555e5a308902ed61b9291b29b7b8b34df267 /deps/ntlmclient | |
parent | b1f6481f2db87cb8f85a8a588d78eb4f25aaaf23 (diff) | |
download | libgit2-f2e43a8796f0e799c307d018343e9a1bc92e17c8.tar.gz |
ntlmclient: silence deprecation warnings for CommonCrypto backend
The `CC_MD4()` function has been deprecated in macOS 10.15. Silence this
warning for now until we implement a proper fix.
Diffstat (limited to 'deps/ntlmclient')
-rw-r--r-- | deps/ntlmclient/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/ntlmclient/CMakeLists.txt b/deps/ntlmclient/CMakeLists.txt index 66e96d6f6..0a1339779 100644 --- a/deps/ntlmclient/CMakeLists.txt +++ b/deps/ntlmclient/CMakeLists.txt @@ -7,6 +7,8 @@ DISABLE_WARNINGS(implicit-fallthrough) IF (HTTPS_BACKEND STREQUAL "SecureTransport") ADD_DEFINITIONS(-DCRYPT_COMMONCRYPTO) SET(SRC_NTLMCLIENT_CRYPTO "crypt_commoncrypto.c") + # CC_MD4 has been deprecated in macOS 10.15. + SET_SOURCE_FILES_PROPERTIES("crypt_commoncrypto.c" COMPILE_FLAGS "-Wno-deprecated") ELSEIF (HTTPS_BACKEND STREQUAL "OpenSSL") ADD_DEFINITIONS(-DCRYPT_OPENSSL) INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR}) |