diff options
Diffstat (limited to 'src/lib/hash/checksum/crc32/crc32.cpp')
-rw-r--r-- | src/lib/hash/checksum/crc32/crc32.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/hash/checksum/crc32/crc32.cpp b/src/lib/hash/checksum/crc32/crc32.cpp index 1bbc35ac8..c69c8f80b 100644 --- a/src/lib/hash/checksum/crc32/crc32.cpp +++ b/src/lib/hash/checksum/crc32/crc32.cpp @@ -10,6 +10,11 @@ namespace Botan { +std::unique_ptr<HashFunction> CRC32::copy_state() const + { + return std::unique_ptr<HashFunction>(new CRC32(*this)); + } + /* * Update a CRC32 Checksum */ |