diff options
-rw-r--r-- | src/lib/x509/info.txt | 1 | ||||
-rw-r--r-- | src/tests/test_certstor.cpp | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/x509/info.txt b/src/lib/x509/info.txt index 6b136cbcf..20a1aa2b0 100644 --- a/src/lib/x509/info.txt +++ b/src/lib/x509/info.txt @@ -1,5 +1,6 @@ <defines> X509_CERTIFICATES -> 20151023 +X509 -> 20180911 OCSP -> 20161118 </defines> 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 { |