]> git.saurik.com Git - apt.git/blobdiff - ftparchive/cachedb.cc
rework dpkg-wrapping in test framework
[apt.git] / ftparchive / cachedb.cc
index da45eb8d25229b5364fe5be7fee9bedc498b37ba..df5eb1451b1ede4d46821f23ac06858fa68669b8 100644 (file)
@@ -473,6 +473,10 @@ bool CacheDB::GetHashes(bool const GenOnly, unsigned int const DoHashes)
            hex2bytes(CurStat.MD5, hs->HashValue().data(), sizeof(CurStat.MD5));
            CurStat.Flags |= FlMD5;
         }
+        else if (strcasecmp(hs->HashType().c_str(), "Checksum-FileSize") == 0)
+        {
+           // we store it in a different field already
+        }
         else
            return _error->Error("Got unknown unrequested hashtype %s", hs->HashType().c_str());
       }