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/asn1.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/examples/asn1.cpp') diff --git a/doc/examples/asn1.cpp b/doc/examples/asn1.cpp index 933c5e492..95757ec19 100644 --- a/doc/examples/asn1.cpp +++ b/doc/examples/asn1.cpp @@ -56,6 +56,8 @@ int main(int argc, char* argv[]) printf("Usage: %s \n", argv[0]); return 1; } + + Botan::LibraryInitializer init; try { DataSource_Stream in(argv[1]); -- cgit v1.2.3