From 55ae7a516126f9f064d8353bf962256b7307590a Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 1 Sep 2015 11:13:48 +0200 Subject: Consider md5sum no longer a usable hash The md5sum hash is broken since some time and we should no longer consider it a usable hash. Also update the tests to reflect this. --- apt-pkg/contrib/hashes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'apt-pkg/contrib/hashes.h') diff --git a/apt-pkg/contrib/hashes.h b/apt-pkg/contrib/hashes.h index 0e6ff9ef1..74024befd 100644 --- a/apt-pkg/contrib/hashes.h +++ b/apt-pkg/contrib/hashes.h @@ -68,6 +68,7 @@ class HashString // helper std::string toStr() const; // convert to str as "type:hash" bool empty() const; + bool usable() const; bool operator==(HashString const &other) const; bool operator!=(HashString const &other) const; -- cgit v1.2.3