aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/checksum/crc24/crc24.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/checksum/crc24/crc24.cpp')
-rw-r--r--src/lib/hash/checksum/crc24/crc24.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/hash/checksum/crc24/crc24.cpp b/src/lib/hash/checksum/crc24/crc24.cpp
index 923433d7e..bed456177 100644
--- a/src/lib/hash/checksum/crc24/crc24.cpp
+++ b/src/lib/hash/checksum/crc24/crc24.cpp
@@ -10,6 +10,11 @@
namespace Botan {
+std::unique_ptr<HashFunction> CRC24::copy_state() const
+ {
+ return std::unique_ptr<HashFunction>(new CRC24(*this));
+ }
+
/*
* Update a CRC24 Checksum
*/