Pass certificate validity length into the constructor.
[libdcp.git] / test / round_trip_test.cc
index c5ad414ceb2be47d1e1062d6a3c4a7d94edc7998..add00651a0efc28e4b3266468e93c78eee36eadd 100644 (file)
@@ -65,7 +65,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)
 {
-       auto signer = make_shared<dcp::CertificateChain>(boost::filesystem::path ("openssl"));
+       auto signer = make_shared<dcp::CertificateChain>(boost::filesystem::path("openssl"), 10 * 365);
 
        boost::filesystem::path work_dir = "build/test/round_trip_test";
        boost::filesystem::create_directory (work_dir);