aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/x509print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/x509print.cpp')
-rw-r--r--src/cmd/x509print.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cmd/x509print.cpp b/src/cmd/x509print.cpp
index c2c63021c..006c51de8 100644
--- a/src/cmd/x509print.cpp
+++ b/src/cmd/x509print.cpp
@@ -2,7 +2,9 @@
#if defined(BOTAN_HAS_X509_CERTIFICATES)
#include <botan/x509cert.h>
-int x509_main(int argc, char* argv[])
+namespace {
+
+int x509print(int argc, char* argv[])
{
if(argc < 1)
{
@@ -16,4 +18,9 @@ int x509_main(int argc, char* argv[])
return 0;
}
+
+REGISTER_APP(x509print);
+
+}
+
#endif