aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/dsa_kgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/dsa_kgen.cpp')
-rw-r--r--doc/examples/dsa_kgen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/dsa_kgen.cpp b/doc/examples/dsa_kgen.cpp
index fe70f93fb..4669cf705 100644
--- a/doc/examples/dsa_kgen.cpp
+++ b/doc/examples/dsa_kgen.cpp
@@ -34,6 +34,8 @@ int main(int argc, char* argv[])
return 1;
}
+ Botan::LibraryInitializer init;
+
std::ofstream priv("dsapriv.pem");
std::ofstream pub("dsapub.pem");
if(!priv || !pub)