aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/encrypt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/encrypt.cpp')
-rw-r--r--doc/examples/encrypt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/encrypt.cpp b/doc/examples/encrypt.cpp
index 8f61306be..348ee8d39 100644
--- a/doc/examples/encrypt.cpp
+++ b/doc/examples/encrypt.cpp
@@ -44,6 +44,8 @@ int main(int argc, char* argv[])
return 1;
}
+ Botan::LibraryInitializer init;
+
std::string algo = "TripleDES";
std::string filename, passphrase;