aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/pkcs10.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/pkcs10.cpp')
-rw-r--r--src/cmd/pkcs10.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/pkcs10.cpp b/src/cmd/pkcs10.cpp
index ff5fa7bf9..847f898d5 100644
--- a/src/cmd/pkcs10.cpp
+++ b/src/cmd/pkcs10.cpp
@@ -6,15 +6,15 @@
#include "apps.h"
-#if defined(BOTAN_HAS_X509_CERTIFICATES)
+#if defined(BOTAN_HAS_X509_CERTIFICATES) && defined(BOTAN_HAS_RSA)
+
#include <botan/x509self.h>
#include <botan/rsa.h>
-#include <botan/dsa.h>
-using namespace Botan;
-
#include <fstream>
#include <memory>
+using namespace Botan;
+
namespace {
int pkcs10(int argc, char* argv[])
@@ -60,4 +60,4 @@ REGISTER_APP(pkcs10);
}
-#endif
+#endif // BOTAN_HAS_X509_CERTIFICATES && BOTAN_HAS_RSA