X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/76cbc9abb2d09ee5b248dfaa24948ba016fb6dee..9224ce3d4d1ea0428a70e75134998e08aa45b1e6:/methods/https.cc diff --git a/methods/https.cc b/methods/https.cc index 70f6a1046..81903b239 100644 --- a/methods/https.cc +++ b/methods/https.cc @@ -443,7 +443,7 @@ bool HttpsMethod::Fetch(FetchItem *Itm) Res.LastModified = resultStat.st_mtime; // take hashes - Hashes Hash; + Hashes Hash(Itm->ExpectedHashes); FileFd Fd(Res.Filename, FileFd::ReadOnly); Hash.AddFD(Fd); Res.TakeHashes(Hash);