aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/rmd160/rmd160.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/rmd160/rmd160.cpp')
-rw-r--r--src/lib/hash/rmd160/rmd160.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/hash/rmd160/rmd160.cpp b/src/lib/hash/rmd160/rmd160.cpp
index 8d190a74f..95f96c281 100644
--- a/src/lib/hash/rmd160/rmd160.cpp
+++ b/src/lib/hash/rmd160/rmd160.cpp
@@ -9,6 +9,11 @@
namespace Botan {
+std::unique_ptr<HashFunction> RIPEMD_160::copy_state() const
+ {
+ return std::unique_ptr<HashFunction>(new RIPEMD_160(*this));
+ }
+
namespace {
/*