diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-10-31 00:03:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-11-05 00:43:19 +0100 |
| commit | e8ce097ce705446c27b51199a321a9918deaa0db (patch) | |
| tree | 0a52cbc9c52791d453fa4bd478609aedde98c831 /test/dcp_decoder_test.cc | |
| parent | ef65a179e8c907029d0d9254863d4884581f3d60 (diff) | |
Allow specification of which parts of the DCP to encrypt (#3099).
Diffstat (limited to 'test/dcp_decoder_test.cc')
| -rw-r--r-- | test/dcp_decoder_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/dcp_decoder_test.cc b/test/dcp_decoder_test.cc index cf9950aae..87cea6691 100644 --- a/test/dcp_decoder_test.cc +++ b/test/dcp_decoder_test.cc @@ -64,7 +64,9 @@ BOOST_AUTO_TEST_CASE (check_reuse_old_data_test) auto encrypted = new_test_film("check_reuse_old_data_decrypted"); encrypted->examine_and_add_content(content_factory("test/data/flat_red.png")); BOOST_REQUIRE (!wait_for_jobs()); - encrypted->set_encrypted (true); + encrypted->set_encrypt_picture(true); + encrypted->set_encrypt_sound(true); + encrypted->set_encrypt_text(true); make_and_verify_dcp (encrypted); dcp::DCP encrypted_dcp (encrypted->dir(encrypted->dcp_name())); |
