aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_x509.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-16 10:40:12 +0200
committerSimon Warta <[email protected]>2015-07-16 15:19:22 +0200
commite9ef1088bced02c0ed10a460dc0fbc296b999a07 (patch)
tree6edebd24be2a611fddd94a9391c21595af484791 /src/tests/unit_x509.cpp
parent9bca04a5999060f098221615ab4ce5f89ea67c8a (diff)
Fix time range issue for 32 bit platforms
Diffstat (limited to 'src/tests/unit_x509.cpp')
-rw-r--r--src/tests/unit_x509.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/unit_x509.cpp b/src/tests/unit_x509.cpp
index 95890b9e9..677ccedd3 100644
--- a/src/tests/unit_x509.cpp
+++ b/src/tests/unit_x509.cpp
@@ -172,11 +172,11 @@ size_t test_x509()
/* Sign the requests to create the certs */
X509_Certificate user1_cert =
ca.sign_request(user1_req, rng,
- from_date(2008, 01, 01), from_date(2100, 01, 01));
+ from_date(2008, 01, 01), from_date(2033, 01, 01));
X509_Certificate user2_cert = ca.sign_request(user2_req, rng,
from_date(2008, 01, 01),
- from_date(2100, 01, 01));
+ from_date(2033, 01, 01));
X509_CRL crl1 = ca.new_crl(rng);
/* Verify the certs */