]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/sha1.h
- provide a {Package,Version}List similar to {Package,Version}Set
[apt.git] / apt-pkg / contrib / sha1.h
index 2701fc67e3084fb5e5c637d27e64ca512b576cb2..b4b139a222bdf2194b69a15356e257842aa3e072 100644 (file)
@@ -18,9 +18,6 @@
 #include <cstring>
 #include <algorithm>
 
-using std::string;
-using std::min;
-
 #include "hashsum_template.h"
 
 typedef  HashSumValue<160> SHA1SumValue;
@@ -34,7 +31,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();