summaryrefslogtreecommitdiff
path: root/test/encryption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-01 23:13:25 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-01 23:13:25 +0100
commit9a5809be580c1a12864d751a710f6783363d3de7 (patch)
tree2039fc251ed6bb5abcfe2fd6daa2fe572fac144e /test/encryption_test.cc
parentc78523806e89e4c43015816fcd20db2549992464 (diff)
Check that KDM validity periods are safely within the validity periods
of the signing certificate chain. This does cause problems when you try to create a KDM for a certificate you just made (due to the fact that certificates always have a start-valid time of "now") but hopefully this can be fixed up in another commit.
Diffstat (limited to 'test/encryption_test.cc')
-rw-r--r--test/encryption_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc
index 214bc263..c3590751 100644
--- a/test/encryption_test.cc
+++ b/test/encryption_test.cc
@@ -143,7 +143,7 @@ BOOST_AUTO_TEST_CASE (encryption_test)
dcp::DecryptedKDM kdm (
cpl,
key,
- dcp::LocalTime ("2013-01-01T00:00:00+00:00"),
+ dcp::LocalTime ("2016-01-01T00:00:00+00:00"),
dcp::LocalTime ("2017-01-08T00:00:00+00:00"),
"libdcp",
"test",