diff options
author | lloyd <[email protected]> | 2009-12-23 01:22:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-23 01:22:54 +0000 |
commit | 4b0e73bef1bc729219c7b4446e33644c170b0922 (patch) | |
tree | b326425ec3a2e6148c5a63381ab1c4e36071e1de /src/cert/x509 | |
parent | 77064d4008372310be1e14645f37f6d15beeb600 (diff) |
Time was saved to a u32bit. Would really bite me in 2106 :)
Diffstat (limited to 'src/cert/x509')
-rw-r--r-- | src/cert/x509/x509opt.cpp | 2 |
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); |