]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexrecords.cc
promote ExpectedHashes to a pkgAcquire::Item member
[apt.git] / apt-pkg / indexrecords.cc
index 68ebdce0886fb5065a3cec1e5297b49cbf160107..5dcaadd76de39de92df31e60c1120f84286694be 100644 (file)
@@ -105,7 +105,7 @@ bool indexRecords::Load(const string Filename)                              /*{{{*/
            return false;
         indexRecords::checkSum *Sum = new indexRecords::checkSum;
         Sum->MetaKeyFilename = Name;
-        Sum->Hash = HashString(HashString::SupportedHashes()[i],Hash);
+        Sum->Hashes.push_back(HashString(HashString::SupportedHashes()[i],Hash));
         Sum->Size = Size;
         Entries[Name] = Sum;
       }