aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/ocsp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/ocsp.cpp')
-rw-r--r--src/cmd/ocsp.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/ocsp.cpp b/src/cmd/ocsp.cpp
index 98324caff..a36dd73f6 100644
--- a/src/cmd/ocsp.cpp
+++ b/src/cmd/ocsp.cpp
@@ -1,4 +1,5 @@
#include "apps.h"
+#if defined(BOTAN_HAS_X509_CERTIFICATES)
#include <botan/x509cert.h>
#include <botan/certstor.h>
#include <botan/x509path.h>
@@ -36,3 +37,4 @@ int ocsp_check_main(int argc, char* argv[])
return 1;
}
}
+#endif