summaryrefslogtreecommitdiff
path: root/test/encryption_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/encryption_test.cc')
-rw-r--r--test/encryption_test.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc
index f08d4827..35e828b9 100644
--- a/test/encryption_test.cc
+++ b/test/encryption_test.cc
@@ -100,10 +100,13 @@ BOOST_AUTO_TEST_CASE (encryption)
d.write_xml (false, xml_metadata, signer);
+ boost::filesystem::path cpl_path = boost::filesystem::path ("build/test/DCP/bar") / (cpl->id() + "_cpl.xml");
+
libdcp::KDM kdm (
- cpl,
+ cpl_path,
signer,
signer->certificates().leaf(),
+ key,
boost::posix_time::time_from_string ("2013-01-01 00:00:00"),
boost::posix_time::time_from_string ("2013-01-08 00:00:00"),
"libdcp",