X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/35555c1826da5df9f2c06a74f2e91be843ad8142..85050e764482197aad5daeeafd95ff6bf680afcb:/apt-pkg/contrib/sha1.h diff --git a/apt-pkg/contrib/sha1.h b/apt-pkg/contrib/sha1.h index 2701fc67e..a8d55eb13 100644 --- a/apt-pkg/contrib/sha1.h +++ b/apt-pkg/contrib/sha1.h @@ -18,10 +18,12 @@ #include #include +#include "hashsum_template.h" + +#ifndef APT_8_CLEANER_HEADERS using std::string; using std::min; - -#include "hashsum_template.h" +#endif typedef HashSumValue<160> SHA1SumValue; @@ -34,7 +36,7 @@ class SHA1Summation : public SummationImplementation bool Done; public: - bool Add(const unsigned char *inbuf, unsigned long inlen); + bool Add(const unsigned char *inbuf, unsigned long long inlen); using SummationImplementation::Add; SHA1SumValue Result();