summaryrefslogtreecommitdiff
path: root/test/import_dcp_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-03 00:52:32 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-03 00:52:32 +0100
commitd366e853399d3247077aa1a04d8b6d6ef38c7cfc (patch)
tree32c8d0749e157e10143d36e8da50d9eb9e5a4733 /test/import_dcp_test.cc
parent9dce8e4c050d2095465bb801a27e626d0765579b (diff)
Adjust some test KDM timings so as not to trip the certificate validity period warning.
Diffstat (limited to 'test/import_dcp_test.cc')
-rw-r--r--test/import_dcp_test.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/import_dcp_test.cc b/test/import_dcp_test.cc
index 71689f613..16ebfa454 100644
--- a/test/import_dcp_test.cc
+++ b/test/import_dcp_test.cc
@@ -64,12 +64,13 @@ BOOST_AUTO_TEST_CASE (import_dcp_test)
Config::instance()->set_decryption_chain (shared_ptr<dcp::CertificateChain> (new dcp::CertificateChain (openssl_path ())));
+ /* Dear future-carl: I suck! I thought you wouldn't still be running these tests in 2030! Sorry! */
dcp::EncryptedKDM kdm = A->make_kdm (
Config::instance()->decryption_chain()->leaf (),
vector<string>(),
A_dcp.cpls().front()->file().get(),
- dcp::LocalTime ("2014-07-21T00:00:00+00:00"),
- dcp::LocalTime ("2024-07-21T00:00:00+00:00"),
+ dcp::LocalTime ("2030-07-21T00:00:00+00:00"),
+ dcp::LocalTime ("2031-07-21T00:00:00+00:00"),
dcp::MODIFIED_TRANSITIONAL_1,
true, 0
);