diff options
author | lloyd <[email protected]> | 2008-04-10 05:05:42 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-04-10 05:05:42 +0000 |
commit | fc01b5a4bb338c892a928c869e31bb58bf4dd319 (patch) | |
tree | 952062f53a44c9f60a8d3114e865d32cafd2e305 /include/x509self.h | |
parent | 23df73a03249341a569a97a39081769b4f8f174b (diff) |
Add a second argument to X509_Cert_Options, which replaces
the configuration value default_expire
Remove signing_offset as well - it is only used for setting the
default time of a X509_Cert_Options: not worth the cost of a global
variable.
Diffstat (limited to 'include/x509self.h')
-rw-r--r-- | include/x509self.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/x509self.h b/include/x509self.h index 4bd830ea4..4ad7f8f5c 100644 --- a/include/x509self.h +++ b/include/x509self.h @@ -47,7 +47,8 @@ class X509_Cert_Options void add_ex_constraint(const OID&); void add_ex_constraint(const std::string&); - X509_Cert_Options(const std::string& = ""); + X509_Cert_Options(const std::string& = "", + u32bit expire = 365 * 24 * 60 * 60); }; namespace X509 { |