summaryrefslogtreecommitdiff
path: root/test/round_trip_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-02-12 15:55:47 +0100
committerCarl Hetherington <cth@carlh.net>2022-02-12 15:55:47 +0100
commit4b48bfa7f069092e53bc7fcba93a99d34b18be8a (patch)
tree77c7c30dea3974e28f75bfccdd077efa85487c90 /test/round_trip_test.cc
parent575129cca8f3161881fab63bf2961d102c24c286 (diff)
Make certificate chain validity a parameter of the constructor.v1.6.19
Diffstat (limited to 'test/round_trip_test.cc')
-rw-r--r--test/round_trip_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/round_trip_test.cc b/test/round_trip_test.cc
index 9c100124..02818283 100644
--- a/test/round_trip_test.cc
+++ b/test/round_trip_test.cc
@@ -49,7 +49,7 @@ using boost::scoped_array;
/** Build an encrypted picture asset and a KDM for it and check that the KDM can be decrypted */
BOOST_AUTO_TEST_CASE (round_trip_test)
{
- shared_ptr<dcp::CertificateChain> signer (new dcp::CertificateChain (boost::filesystem::path ("openssl")));
+ shared_ptr<dcp::CertificateChain> signer (new dcp::CertificateChain (boost::filesystem::path ("openssl"), 10 * 365));
boost::filesystem::path work_dir = "build/test/round_trip_test";
boost::filesystem::create_directory (work_dir);