summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/hashes.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-05-08 09:48:51 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-05-08 09:48:51 +0200
commit864a3375f7bf0b3772f4f2ae212b802f6cab5ff9 (patch)
tree1df83bd5badeea61a237ecf5c6aac884cd9ae0ee /apt-pkg/contrib/hashes.h
parent34de054cffeb8e64c09efd452a78271bb85d4831 (diff)
parentc6e9cc582c7093b08c7c057c1f7885eb07e06959 (diff)
Merge remote-tracking branch 'mvo/bugfix/update-progress-reporting' into debian/experimental
Diffstat (limited to 'apt-pkg/contrib/hashes.h')
-rw-r--r--apt-pkg/contrib/hashes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/contrib/hashes.h b/apt-pkg/contrib/hashes.h
index 5cd1af03b..7a62f8a8f 100644
--- a/apt-pkg/contrib/hashes.h
+++ b/apt-pkg/contrib/hashes.h
@@ -78,6 +78,8 @@ class Hashes
SHA256Summation SHA256;
SHA512Summation SHA512;
+ static const int UntilEOF = 0;
+
inline bool Add(const unsigned char *Data,unsigned long long Size)
{
return MD5.Add(Data,Size) && SHA1.Add(Data,Size) && SHA256.Add(Data,Size) && SHA512.Add(Data,Size);