summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/hashes.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2020-02-18 12:38:14 +0000
committerJulian Andres Klode <jak@debian.org>2020-02-18 12:38:14 +0000
commit9a0a2daa268bd718a4b7fd9617b46ed74c76e94a (patch)
tree2b56db6a3e0bcad1389f2ab8663a09d1dc2c0b94 /apt-pkg/contrib/hashes.h
parentdea9a6e3634f674050e525650cf8e7803f62d1da (diff)
parente8016805b87bead8eb3dff0d0559c5d9590b721b (diff)
Merge branch 'pu/bump-abi6' into 'master'
Bump ABI to 6.0 See merge request apt-team/apt!103
Diffstat (limited to 'apt-pkg/contrib/hashes.h')
-rw-r--r--apt-pkg/contrib/hashes.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/apt-pkg/contrib/hashes.h b/apt-pkg/contrib/hashes.h
index dad50c564..e2a9927ef 100644
--- a/apt-pkg/contrib/hashes.h
+++ b/apt-pkg/contrib/hashes.h
@@ -13,12 +13,10 @@
#define APTPKG_HASHES_H
#include <apt-pkg/macros.h>
-#include <apt-pkg/md5.h>
-#include <apt-pkg/sha1.h>
-#include <apt-pkg/sha2.h>
#include <cstring>
#include <string>
+#include <vector>
@@ -171,15 +169,6 @@ class PrivateHashes;
class Hashes
{
PrivateHashes * const d;
-APT_IGNORE_DEPRECATED_PUSH
- /* TODO: those will disappear in the future as it is hard to add new ones this way.
- * Use Add* to build the results and get them via GetHashStringList() instead */
- MD5Summation MD5 APT_PKG_590("Remove");
- SHA1Summation SHA1 APT_PKG_590("Remove");
- SHA256Summation SHA256 APT_PKG_590("Remove");
- SHA512Summation SHA512 APT_PKG_590("Remove");
-APT_IGNORE_DEPRECATED_POP
-
public:
static const int UntilEOF = 0;