summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-08-05 12:26:35 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-08-05 12:26:35 +0200
commit3568a640bd363409cdeb1cb69eaa3261c79f2ff2 (patch)
tree03f428bb0b412809a86e70100461e32545b9dea1 /apt-pkg
parent515d18c9b271e4188dd4c59939c3c3cfeaf575a8 (diff)
* apt-pkg/acquire-item.cc:
- if no Release.gpg file is found, still load the hashes for verification (closes: #636314) and add test
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire-item.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 215615bdd..ebd8d5a12 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -1258,8 +1258,9 @@ void pkgAcqMetaIndex::Done(string Message,unsigned long Size,string Hash, /*{{{*
if (SigFile == "")
{
// There was no signature file, so we are finished. Download
- // the indexes without verification.
- QueueIndexes(false);
+ // the indexes and do hashsum verification
+ MetaIndexParser->Load(DestFile);
+ QueueIndexes(true);
}
else
{