summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-30 17:00:48 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-30 17:00:48 +0100
commit682c060342d96e7511d09a5b86df605771f3a907 (patch)
treec5424127dd4c6af71623177862f5af7f9318aa32 /test
parent54f93021620b7d26120c32b5f45a0d046d3612de (diff)
Allow config of the full KDM decryption chain.
Diffstat (limited to 'test')
-rw-r--r--test/import_dcp_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/import_dcp_test.cc b/test/import_dcp_test.cc
index 3f6f41b55..84d02c0bf 100644
--- a/test/import_dcp_test.cc
+++ b/test/import_dcp_test.cc
@@ -50,7 +50,7 @@ BOOST_AUTO_TEST_CASE (import_dcp_test)
A_dcp.read ();
dcp::EncryptedKDM kdm = A->make_kdm (
- Config::instance()->decryption_certificate(),
+ Config::instance()->decryption_chain()->leaf (),
A_dcp.cpls().front()->file (),
dcp::LocalTime ("2014-07-21T00:00:00+00:00"),
dcp::LocalTime ("2024-07-21T00:00:00+00:00"),