From 9a5809be580c1a12864d751a710f6783363d3de7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 1 Dec 2019 23:13:25 +0100 Subject: 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. --- test/encryption_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/encryption_test.cc') 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", -- cgit v1.2.3