]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debrecords.cc
add insecure (and weak) allow-options for sources.list
[apt.git] / apt-pkg / deb / debrecords.cc
index beaa83bd9e279647dbdadbd4394ff2785ec80038..a132f34a6d95182879830e7c5b0712c64b890a32 100644 (file)
@@ -90,6 +90,9 @@ HashStringList debRecordParserBase::Hashes() const
       if (hash.empty() == false)
         hashes.push_back(HashString(*type, hash));
    }
+   auto const size = Section.FindULL("Size", 0);
+   if (size != 0)
+      hashes.FileSize(size);
    return hashes;
 }
                                                                        /*}}}*/