]> git.saurik.com Git - apt.git/commit - apt-pkg/acquire-item.h
support parsing of all hashes for pdiff
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 29 Sep 2014 20:45:52 +0000 (22:45 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 29 Sep 2014 23:53:47 +0000 (01:53 +0200)
commitf6d4ab9ad8a2cfe52737ab620dd252cf8ceec43d
tree282df83623c80846711fba7df748a69131d5b864
parent3809194b662f48733916e6248cd0c141f281313d
support parsing of all hashes for pdiff

The fileformat of a pdiff index stores currently only SHA1 hashes. With
this change, we look for all other hashes we support as well and take
what we get, so that we can work after the release of jessie to get
right of SHA1 if we want to.

Note that the completely patched file is and was checked against the
hashes collected from the Release file, so this transition isn't mission
critical.
apt-pkg/acquire-item.cc
apt-pkg/acquire-item.h
apt-pkg/contrib/hashes.cc
debian/libapt-pkg4.13.symbols
test/integration/test-pdiff-usage