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/dsa_ver.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/examples/dsa_ver.cpp') diff --git a/doc/examples/dsa_ver.cpp b/doc/examples/dsa_ver.cpp index 90af8d68f..3b7ea0255 100644 --- a/doc/examples/dsa_ver.cpp +++ b/doc/examples/dsa_ver.cpp @@ -39,6 +39,8 @@ int main(int argc, char* argv[]) return 1; } + Botan::LibraryInitializer init; + std::ifstream message(argv[2]); if(!message) { -- cgit v1.2.3