diff options
Diffstat (limited to 'src/tests/test_certstor.cpp')
-rw-r--r-- | src/tests/test_certstor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/test_certstor.cpp b/src/tests/test_certstor.cpp index 4963f7465..5bf8ce8fa 100644 --- a/src/tests/test_certstor.cpp +++ b/src/tests/test_certstor.cpp @@ -7,7 +7,8 @@ #include "tests.h" #include <sstream> -#if defined(BOTAN_HAS_X509) && defined(BOTAN_HAS_PUBKEY) +#if defined(BOTAN_HAS_X509_CERTIFICATES) + #include <botan/x509cert.h> #include <botan/certstor.h> #include <botan/internal/filesystem.h> #include <botan/pkcs8.h> @@ -23,7 +24,7 @@ namespace Botan_Tests { namespace { -#if defined(BOTAN_HAS_X509) && defined(BOTAN_HAS_RSA) && defined(BOTAN_TARGET_OS_HAS_FILESYSTEM) +#if defined(BOTAN_HAS_X509_CERTIFICATES) && defined(BOTAN_HAS_RSA) && defined(BOTAN_TARGET_OS_HAS_FILESYSTEM) struct CertificateAndKey { |