]> git.saurik.com Git - apt.git/commit
implement VerifyFile as all-hashes check
authorDavid Kalnischkies <david@kalnischkies.de>
Tue, 12 May 2015 09:18:17 +0000 (11:18 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Tue, 12 May 2015 11:29:54 +0000 (13:29 +0200)
commit495b7a615a2d8f485beadf88c6ed298f5bbe50c2
treeb921790586315139e106f855abcdad18b6ce4480
parentdcbb364fc69e1108b3fea3adb12a7ba83d9af467
implement VerifyFile as all-hashes check

It isn't used much compared to what the methodname suggests, but in the
remaining uses it can't hurt to check more than strictly necessary by
calculating and verifying with all hashes we can compare with rather
than "just" the best known hash.
apt-pkg/acquire-item.cc
apt-pkg/contrib/hashes.cc