aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/x509print.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-11-12 01:23:55 +0000
committerlloyd <[email protected]>2014-11-12 01:23:55 +0000
commit8b0cbccc7b11e545ed27bc6d7bda04b5cf632e60 (patch)
tree7ea9368d6ccaa85337a63b55e8bd15efa46fd357 /src/cmd/x509print.cpp
parent67161b91163afad417f9483cb557b26c5f5f4bc0 (diff)
Command line prog cleanup
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