From 713b65be84830af1a57148b44dc1d1d4010ece3e Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Thu, 26 Dec 2019 15:19:05 -1000 Subject: Revert "Treat SHA1 as Weak rather than untrusted. Add hardcoded exceptions for Modmyi/Zodttd/Bigboss to silence errors" This reverts commit 0a4d0898091e9a6ff584f14d310a13f61fb3d9a3. --- apt-pkg/contrib/hashes.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apt-pkg/contrib') diff --git a/apt-pkg/contrib/hashes.cc b/apt-pkg/contrib/hashes.cc index fd8b12355..98b92cc81 100644 --- a/apt-pkg/contrib/hashes.cc +++ b/apt-pkg/contrib/hashes.cc @@ -140,6 +140,8 @@ APT_PURE bool HashString::usable() const /*{{{*/ { return ( (Type != "Checksum-FileSize") && + (Type != "MD5Sum") && + (Type != "SHA1") && !IsConfigured(Type.c_str(), "Untrusted") ); } -- cgit v1.2.3