aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-11-11 07:12:26 -0500
committerJack Lloyd <[email protected]>2020-11-11 07:15:17 -0500
commita68971a742d966002322d993d4b7f8e3accd11af (patch)
tree46078562a1184fdb091dd1d7b062401030f0c779 /src/lib
parent7aea575f068e64e1c21279374bdea6869e2810be (diff)
Disable MD4/MD5 support in CommonCrypto
Support seems to be deprecated as of macOS 10.15
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/prov/commoncrypto/commoncrypto_hash.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/prov/commoncrypto/commoncrypto_hash.cpp b/src/lib/prov/commoncrypto/commoncrypto_hash.cpp
index f6203fb41..40bab29dd 100644
--- a/src/lib/prov/commoncrypto/commoncrypto_hash.cpp
+++ b/src/lib/prov/commoncrypto/commoncrypto_hash.cpp
@@ -131,15 +131,6 @@ make_commoncrypto_hash(const std::string& name)
return MAKE_COMMONCRYPTO_HASH_2(name, SHA1);
#endif
-#if defined(BOTAN_HAS_MD5)
- if(name == "MD5")
- return MAKE_COMMONCRYPTO_HASH_1(MD5);
-#endif
-
-#if defined(BOTAN_HAS_MD4)
- if(name == "MD4")
- return MAKE_COMMONCRYPTO_HASH_1(MD4);
-#endif
return nullptr;
}