aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-05-02 05:37:28 +0000
committerlloyd <[email protected]>2008-05-02 05:37:28 +0000
commit2088b737da27bf8bf035837ae4ea3e4f3c4b0bc0 (patch)
tree8a89b4a48847dedbfcedd5ecbb6e68dc5b29c8cb /include
parent250cb392d6bdd29adea28b0f9a5562a880656dca (diff)
Remove Config::option_as_time, instead call timespec_to_u32bit in
each caller.
Diffstat (limited to 'include')
-rw-r--r--include/config.h1
-rw-r--r--include/x509stor.h4
2 files changed, 2 insertions, 3 deletions
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<Cert_Info> certs;
std::vector<CRL_Data> revoked;
std::vector<Certificate_Store*> stores;
- u32bit time_slack;
+ u32bit time_slack, validation_cache_timeout;
mutable bool revoked_info_valid;
};