summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/sha1.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-01-07 21:05:27 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-01-14 13:10:36 +0100
commit5872a2e7dd308e49a063a20da1beb40a32d1e9b2 (patch)
tree9e0c4fd785c099cc4d3a553c3b27e68b527e68aa /apt-pkg/contrib/sha1.h
parent79de3008ebfc6b4a5dd32e9de1d19788da0b885d (diff)
Deprecate the Summation classes and mark them for removal
Diffstat (limited to 'apt-pkg/contrib/sha1.h')
-rw-r--r--apt-pkg/contrib/sha1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/sha1.h b/apt-pkg/contrib/sha1.h
index 7149da97f..5d16cbd16 100644
--- a/apt-pkg/contrib/sha1.h
+++ b/apt-pkg/contrib/sha1.h
@@ -18,7 +18,7 @@
typedef HashSumValue<160> SHA1SumValue;
-class SHA1Summation : public SummationImplementation
+class APT_DEPRECATED_MSG("Use Hashes instead") APT_PKG_590("Remove") SHA1Summation : public SummationImplementation
{
/* assumes 64-bit alignment just in case */
unsigned char Buffer[64] __attribute__((aligned(8)));