aboutsummaryrefslogtreecommitdiffstats
path: root/include/x509self.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-04-10 05:05:42 +0000
committerlloyd <[email protected]>2008-04-10 05:05:42 +0000
commitfc01b5a4bb338c892a928c869e31bb58bf4dd319 (patch)
tree952062f53a44c9f60a8d3114e865d32cafd2e305 /include/x509self.h
parent23df73a03249341a569a97a39081769b4f8f174b (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.h3
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 {