summaryrefslogtreecommitdiff
path: root/test/kdm_cli_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-31 00:03:49 +0100
committerCarl Hetherington <cth@carlh.net>2025-11-05 00:43:19 +0100
commite8ce097ce705446c27b51199a321a9918deaa0db (patch)
tree0a52cbc9c52791d453fa4bd478609aedde98c831 /test/kdm_cli_test.cc
parentef65a179e8c907029d0d9254863d4884581f3d60 (diff)
Allow specification of which parts of the DCP to encrypt (#3099).
Diffstat (limited to 'test/kdm_cli_test.cc')
-rw-r--r--test/kdm_cli_test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/kdm_cli_test.cc b/test/kdm_cli_test.cc
index 4292da17e..4bc3ddf46 100644
--- a/test/kdm_cli_test.cc
+++ b/test/kdm_cli_test.cc
@@ -276,7 +276,9 @@ BOOST_AUTO_TEST_CASE(kdm_cli_specify_cert)
boost::filesystem::remove(kdm_filename, ec);
auto film = new_test_film("kdm_cli_specify_cert", content_factory("test/data/flat_red.png"));
- film->set_encrypted(true);
+ film->set_encrypt_picture(true);
+ film->set_encrypt_sound(true);
+ film->set_encrypt_text(true);
film->set_name("KDMCLI");
film->set_use_isdcf_name(false);
make_and_verify_dcp(film);