summaryrefslogtreecommitdiff
path: root/apt-pkg/indexrecords.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-07-26 19:18:11 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-07-26 19:18:11 +0200
commit495e5cb25443e6606c0d02891e1f6610983e88cd (patch)
tree3d447cad9505e2703bd93dd98ebc2199971fc4cd /apt-pkg/indexrecords.h
parentdfd1a56e88c068f0085140630306901d01ed0f98 (diff)
* implement sha256/sha1/md5 checking with proper backward compatibility
and fallback
Diffstat (limited to 'apt-pkg/indexrecords.h')
-rw-r--r--apt-pkg/indexrecords.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/indexrecords.h b/apt-pkg/indexrecords.h
index ac0df470c..468d2bd0f 100644
--- a/apt-pkg/indexrecords.h
+++ b/apt-pkg/indexrecords.h
@@ -8,6 +8,7 @@
#include <apt-pkg/pkgcache.h>
#include <apt-pkg/fileutl.h>
+#include <apt-pkg/hashes.h>
#include <map>
#include <vector>
@@ -45,7 +46,7 @@ class indexRecords
struct indexRecords::checkSum
{
string MetaKeyFilename;
- string MD5Hash;
+ HashString Hash;
size_t Size;
};