aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-23 01:22:54 +0000
committerlloyd <[email protected]>2009-12-23 01:22:54 +0000
commit4b0e73bef1bc729219c7b4446e33644c170b0922 (patch)
treeb326425ec3a2e6148c5a63381ab1c4e36071e1de /src/cert
parent77064d4008372310be1e14645f37f6d15beeb600 (diff)
Time was saved to a u32bit. Would really bite me in 2106 :)
Diffstat (limited to 'src/cert')
-rw-r--r--src/cert/x509/x509opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cert/x509/x509opt.cpp b/src/cert/x509/x509opt.cpp
index c6421d9ca..0702ebf19 100644
--- a/src/cert/x509/x509opt.cpp
+++ b/src/cert/x509/x509opt.cpp
@@ -84,7 +84,7 @@ X509_Cert_Options::X509_Cert_Options(const std::string& initial_opts,
path_limit = 0;
constraints = NO_CONSTRAINTS;
- const u32bit now = system_time();
+ const u64bit now = system_time();
start = X509_Time(now);
end = X509_Time(now + expiration_time_in_seconds);