aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/ocsp.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-02-08 16:01:49 +0000
committerlloyd <[email protected]>2014-02-08 16:01:49 +0000
commit93c361028df3e33b9f6195f7d4b9ffcf47a7fa2c (patch)
tree3fdc838b34dc937ef280899f89aa10a47e005f30 /src/cmd/ocsp.cpp
parent7def8d303e3cf0f1a27ee8ebcb8ae5137261a361 (diff)
Fix minimized builds. Patch by Markus Wanner sent to botan-devel
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