diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-07-26 19:18:11 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-07-26 19:18:11 +0200 |
commit | 495e5cb25443e6606c0d02891e1f6610983e88cd (patch) | |
tree | 3d447cad9505e2703bd93dd98ebc2199971fc4cd /apt-pkg/indexrecords.h | |
parent | dfd1a56e88c068f0085140630306901d01ed0f98 (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.h | 3 |
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; }; |