aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-17 14:13:48 +0000
committerlloyd <[email protected]>2010-09-17 14:13:48 +0000
commit4ef234d711e1dd40f1cd7ec328e9933fb19dc5ee (patch)
treed0a9209ad8576e99bae3f85ff669695b4c4d416c /checks
parent8fa7d0b4f91eec572d8b2971d87e68741d1cd330 (diff)
Split up src/cert/x509 into a set of modules, though mostly mutually
dependent right now.
Diffstat (limited to 'checks')
-rw-r--r--checks/x509.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/checks/x509.cpp b/checks/x509.cpp
index 59bc8444b..6041d975d 100644
--- a/checks/x509.cpp
+++ b/checks/x509.cpp
@@ -19,7 +19,7 @@
#include <botan/ecdsa.h>
#endif
-#ifdef BOTAN_HAS_X509
+#if defined(BOTAN_HAS_X509_CERTIFICATES)
#include <botan/x509self.h>
#include <botan/x509stor.h>
#include <botan/x509_ca.h>
@@ -34,7 +34,9 @@ using namespace Botan;
#include "validate.h"
#include "common.h"
-#if defined(BOTAN_HAS_X509) && defined(BOTAN_HAS_RSA) && defined(BOTAN_HAS_DSA)
+#if defined(BOTAN_HAS_X509_CERTIFICATES) && \
+ defined(BOTAN_HAS_RSA) && \
+ defined(BOTAN_HAS_DSA)
namespace {