summaryrefslogtreecommitdiff
path: root/ftparchive
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-07-04 22:50:09 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-07-04 22:50:09 +0200
commit8e5d47a3a4e735835498574a58e0a33de04a0377 (patch)
treef55877de3ceb0c6c072a8aee492f563d110c0f85 /ftparchive
parenta3b76cde9b0be9a83ca1548e8a6a91d26d8fa29e (diff)
downloadapt-8e5d47a3a4e735835498574a58e0a33de04a0377.tar.gz
* ftparchive/writer.cc:
- handle the APT::FTPArchive::Packages::SHA512 option correctly instead of overriding SHA256, thanks Christian Marillat! (Closes: #680252)
Diffstat (limited to 'ftparchive')
-rw-r--r--ftparchive/writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftparchive/writer.cc b/ftparchive/writer.cc
index 6a24fb8aa..3065526ad 100644
--- a/ftparchive/writer.cc
+++ b/ftparchive/writer.cc
@@ -318,7 +318,7 @@ PackagesWriter::PackagesWriter(string const &DB,string const &Overrides,string c
DoMD5 = _config->FindB("APT::FTPArchive::Packages::MD5",DoMD5);
DoSHA1 = _config->FindB("APT::FTPArchive::Packages::SHA1",DoSHA1);
DoSHA256 = _config->FindB("APT::FTPArchive::Packages::SHA256",DoSHA256);
- DoSHA256 = _config->FindB("APT::FTPArchive::Packages::SHA512",true);
+ DoSHA512 = _config->FindB("APT::FTPArchive::Packages::SHA512",DoSHA512);
DoAlwaysStat = _config->FindB("APT::FTPArchive::AlwaysStat", false);
DoContents = _config->FindB("APT::FTPArchive::Contents",true);
NoOverride = _config->FindB("APT::FTPArchive::NoOverrideMsg",false);