aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/x509/x509opt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cert/x509/x509opt.cpp')
-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);