aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/hash_fd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/hash_fd.cpp')
-rw-r--r--doc/examples/hash_fd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/hash_fd.cpp b/doc/examples/hash_fd.cpp
index 1deed6988..82ca2c3b4 100644
--- a/doc/examples/hash_fd.cpp
+++ b/doc/examples/hash_fd.cpp
@@ -33,6 +33,8 @@ int main(int argc, char* argv[])
return 1;
}
+ Botan::LibraryInitializer init;
+
try
{
Botan::Pipe pipe(new Botan::Hash_Filter(argv[1]),