* test/integration/test-hashsum-verification:
authorMichael Vogt <michael.vogt@ubuntu.com>
Fri, 5 Aug 2011 10:29:40 +0000 (12:29 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Fri, 5 Aug 2011 10:29:40 +0000 (12:29 +0200)
  - add regression test for hashsum verification
* apt-pkg/acquire-item.cc:
  - if no Release.gpg file is found, still load the hashes for
    verification (closes: #636314) and add test

1  2 
apt-pkg/acquire-item.cc
debian/changelog

@@@ -1258,8 -1258,9 +1258,9 @@@ void pkgAcqMetaIndex::Done(string Messa
        if (SigFile == "")
        {
           // There was no signature file, so we are finished.  Download
-          // the indexes without verification.
-          QueueIndexes(false);
 -         // the indexes and do hashsum verification
++         // the indexes and do only hashsum verification
+          MetaIndexParser->Load(DestFile);
+          QueueIndexes(true);
        }
        else
        {
@@@ -11,7 -11,11 +11,12 @@@ apt (0.8.15.5.6) UNRELEASED; urgency=lo
      - use ref-to-ptr semantic in NewDepends() to ensure that the   
        libapt does not segfault if the cache is remapped in between
        (LP: #812862)
 +    - fix crash when P.Arch() was used but the cache got remapped
+   * test/integration/test-hashsum-verification:
+     - add regression test for hashsum verification
+   * apt-pkg/acquire-item.cc:
+     - if no Release.gpg file is found, still load the hashes for
+       verification (closes: #636314) and add test
  
   -- Michael Vogt <mvo@debian.org>  Tue, 12 Jul 2011 11:54:47 +0200