aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/x509info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/x509info.cpp')
-rw-r--r--doc/examples/x509info.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/x509info.cpp b/doc/examples/x509info.cpp
index 4bcf17a20..0e34f2fab 100644
--- a/doc/examples/x509info.cpp
+++ b/doc/examples/x509info.cpp
@@ -56,6 +56,8 @@ int main(int argc, char* argv[])
return 1;
}
+ Botan::LibraryInitializer init;
+
try {
X509_Certificate cert(argv[1]);