diff options
Diffstat (limited to 'src/cmd/pkcs10.cpp')
-rw-r--r-- | src/cmd/pkcs10.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/cmd/pkcs10.cpp b/src/cmd/pkcs10.cpp index 2dad14575..0cdb47878 100644 --- a/src/cmd/pkcs10.cpp +++ b/src/cmd/pkcs10.cpp @@ -1,15 +1,17 @@ #include "apps.h" + #if defined(BOTAN_HAS_X509_CERTIFICATES) #include <botan/x509self.h> #include <botan/rsa.h> #include <botan/dsa.h> using namespace Botan; -#include <iostream> #include <fstream> #include <memory> -int pkcs10_main(int argc, char* argv[]) +namespace { + +int pkcs10(int argc, char* argv[]) { if(argc != 6) { @@ -47,4 +49,9 @@ int pkcs10_main(int argc, char* argv[]) } return 0; } + +REGISTER_APP(pkcs10); + +} + #endif |