summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/hashes.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2015-09-01 11:13:48 +0200
committerMichael Vogt <mvo@ubuntu.com>2015-09-01 11:29:49 +0200
commit55ae7a516126f9f064d8353bf962256b7307590a (patch)
tree14c91251fa81c61c4ab26994036213b6ee24f61c /apt-pkg/contrib/hashes.h
parent226c0f64d46019d675840b16bd44ff985b45ad0f (diff)
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.
Diffstat (limited to 'apt-pkg/contrib/hashes.h')
-rw-r--r--apt-pkg/contrib/hashes.h1
1 files changed, 1 insertions, 0 deletions
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;