From 2088b737da27bf8bf035837ae4ea3e4f3c4b0bc0 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 2 May 2008 05:37:28 +0000 Subject: Remove Config::option_as_time, instead call timespec_to_u32bit in each caller. --- include/config.h | 1 - include/x509stor.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/config.h b/include/config.h index cd2bd0f4a..2c513088a 100644 --- a/include/config.h +++ b/include/config.h @@ -29,7 +29,6 @@ class BOTAN_DLL Config const std::string&, bool = true); std::string option(const std::string&) const; - u32bit option_as_time(const std::string&) const; void set_option(const std::string, const std::string&); diff --git a/include/x509stor.h b/include/x509stor.h index 2010d7e7c..4c0681496 100644 --- a/include/x509stor.h +++ b/include/x509stor.h @@ -87,7 +87,7 @@ class BOTAN_DLL X509_Store class BOTAN_DLL Cert_Info { public: - bool is_verified() const; + bool is_verified(u32bit timeout) const; bool is_trusted() const; X509_Code verify_result() const; void set_result(X509_Code) const; @@ -126,7 +126,7 @@ class BOTAN_DLL X509_Store std::vector certs; std::vector revoked; std::vector stores; - u32bit time_slack; + u32bit time_slack, validation_cache_timeout; mutable bool revoked_info_valid; }; -- cgit v1.2.3