]> git.saurik.com Git - apt.git/commit
ensure filesize of deb is included in the hashes list
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 18 Jun 2016 14:27:04 +0000 (16:27 +0200)
committerJulian Andres Klode <jak@debian.org>
Wed, 22 Jun 2016 12:16:39 +0000 (14:16 +0200)
commit7090944aa01bb8e9d83b6319a4e427fe7090b672
tree3b1dff7baf62d13d8560790db0414df47f7cd085
parent6fabf3723c40b2b1ad47e2e003f934f81562da67
ensure filesize of deb is included in the hashes list

Filesize is a silly hash all by itself, but in combination with others
it can be a strong opponent, so ensuring that it is in the list of
hashes and hence checked by the normal course of action the acquire
process takes is a good thing.

(cherry picked from commit 5da51e0e2da3f055306562d38103b06a23d81719)
apt-pkg/deb/debrecords.cc