aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/hasher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/hasher.cpp')
-rw-r--r--doc/examples/hasher.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/hasher.cpp b/doc/examples/hasher.cpp
index 55a2ecd4b..5ba982fc0 100644
--- a/doc/examples/hasher.cpp
+++ b/doc/examples/hasher.cpp
@@ -20,6 +20,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" };