aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/hasher2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/hasher2.cpp')
-rw-r--r--doc/examples/hasher2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/hasher2.cpp b/doc/examples/hasher2.cpp
index e71ebf63e..12d3c853d 100644
--- a/doc/examples/hasher2.cpp
+++ b/doc/examples/hasher2.cpp
@@ -23,6 +23,8 @@ int main(int argc, char* argv[])
return 1;
}
+ Botan::LibraryInitializer init;
+
const int COUNT = 3;
std::string name[COUNT] = { "MD5", "SHA-1", "RIPEMD-160" };