diff options
Diffstat (limited to 'src/lib/x509/x509path.h')
-rw-r--r-- | src/lib/x509/x509path.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/x509/x509path.h b/src/lib/x509/x509path.h index 414a877da..6b544dba3 100644 --- a/src/lib/x509/x509path.h +++ b/src/lib/x509/x509path.h @@ -16,6 +16,10 @@ #include <set> #include <chrono> +#if defined(BOTAN_TARGET_OS_HAS_THREADS) && defined(BOTAN_HAS_HTTP_UTIL) + #define BOTAN_HAS_ONLINE_REVOCATION_CHECKS +#endif + namespace Botan { /** @@ -212,7 +216,7 @@ BOTAN_DLL check_crl(const std::vector<std::shared_ptr<const X509_Certificate>>& const std::vector<Certificate_Store*>& certstores, std::chrono::system_clock::time_point ref_time); -#if defined(BOTAN_TARGET_OS_HAS_THREADS) && defined(BOTAN_HAS_HTTP_UTIL) +#if defined(BOTAN_HAS_ONLINE_REVOCATION_CHECKS) std::vector<std::set<Certificate_Status_Code>> BOTAN_DLL check_ocsp_online(const std::vector<std::shared_ptr<const X509_Certificate>>& cert_path, |