summaryrefslogtreecommitdiff
path: root/test/round_trip_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-02-14 22:13:31 +0000
committerCarl Hetherington <cth@carlh.net>2018-02-14 22:16:07 +0000
commite2a4e0f08c9e8cc82fb20f1cd358897fae46c9ee (patch)
treee936e7abbaeb3a07806499f194861525752ab25f /test/round_trip_test.cc
parent4a5ef0b4dc6310c5eb7a35fb1c79541bf856b9a8 (diff)
Use a bool instead of an int for disable-forensic-picture and
a optional<int> instead of an int with a magic -1 for disable-forensic-audio.
Diffstat (limited to 'test/round_trip_test.cc')
-rw-r--r--test/round_trip_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/round_trip_test.cc b/test/round_trip_test.cc
index 1fd89dbb..505477a3 100644
--- a/test/round_trip_test.cc
+++ b/test/round_trip_test.cc
@@ -83,7 +83,7 @@ BOOST_AUTO_TEST_CASE (round_trip_test)
boost::filesystem::path const kdm_file = work_dir / "kdm.xml";
- kdm_A.encrypt(signer, signer->leaf(), vector<dcp::Certificate>(), dcp::MODIFIED_TRANSITIONAL_1, -1, -1).as_xml (kdm_file);
+ kdm_A.encrypt(signer, signer->leaf(), vector<dcp::Certificate>(), dcp::MODIFIED_TRANSITIONAL_1, true, 0).as_xml (kdm_file);
/* Reload the KDM, using our private key to decrypt it */
dcp::DecryptedKDM kdm_B (dcp::EncryptedKDM (dcp::file_to_string (kdm_file)), signer->key().get ());