aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/asn1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/asn1.cpp')
-rw-r--r--src/cmd/asn1.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/asn1.cpp b/src/cmd/asn1.cpp
index f5b6b6b4e..7264c1a6d 100644
--- a/src/cmd/asn1.cpp
+++ b/src/cmd/asn1.cpp
@@ -6,6 +6,8 @@
#include "apps.h"
+#if defined(BOTAN_HAS_ASN1) && defined(BOTAN_HAS_PEM_CODEC)
+
#include <botan/bigint.h>
#include <botan/hex.h>
#include <botan/der_enc.h>
@@ -350,3 +352,5 @@ int asn1(int argc, char* argv[])
REGISTER_APP(asn1);
}
+
+#endif // BOTAN_HAS_ASN1 && BOTAN_HAS_PEM_CODEC