aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/dh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/dh.cpp')
-rw-r--r--doc/examples/dh.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/dh.cpp b/doc/examples/dh.cpp
index af0c19fec..7855aeae5 100644
--- a/doc/examples/dh.cpp
+++ b/doc/examples/dh.cpp
@@ -15,6 +15,8 @@ using namespace Botan;
int main()
{
+ Botan::LibraryInitializer init;
+
try
{
AutoSeeded_RNG rng;