From b14127fc125dbbfc841ef8248bc797896dd2223f Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 17 Mar 2009 02:46:01 +0000 Subject: Add LibraryInitializers to the examples, instead of relying on lazy init. Patch from David X Callaway. --- doc/examples/dh.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/examples/dh.cpp') 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; -- cgit v1.2.3