#ifndef APTPKG_SHA1_H
#define APTPKG_SHA1_H
+#include "hashsum_template.h"
+
+#ifndef APT_10_CLEANER_HEADERS
#include <string>
#include <cstring>
#include <algorithm>
-
+#endif
+#ifndef APT_8_CLEANER_HEADERS
using std::string;
using std::min;
-
-#include "hashsum_template.h"
+#endif
typedef HashSumValue<160> SHA1SumValue;
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();