From d003a557a516e3063de3190950e911c61c3dd53e Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sun, 27 Apr 2014 23:02:00 +0200 Subject: tell download methods the expected hashes Now that we have all hashes in the acquire system, pass the info down to the methods, so that it can use it in the request and/or to precheck the response. --- apt-pkg/acquire-method.h | 1 + 1 file changed, 1 insertion(+) (limited to 'apt-pkg/acquire-method.h') diff --git a/apt-pkg/acquire-method.h b/apt-pkg/acquire-method.h index 8a17a5fd5..cbf79f860 100644 --- a/apt-pkg/acquire-method.h +++ b/apt-pkg/acquire-method.h @@ -47,6 +47,7 @@ class pkgAcqMethod time_t LastModified; bool IndexFile; bool FailIgnore; + HashStringList ExpectedHashes; }; struct FetchResult -- cgit v1.2.3