summaryrefslogtreecommitdiff
path: root/test/encryption_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/encryption_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/encryption_test.cc')
-rw-r--r--test/encryption_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc
index 7b41e096..64b4ecd9 100644
--- a/test/encryption_test.cc
+++ b/test/encryption_test.cc
@@ -135,7 +135,7 @@ BOOST_AUTO_TEST_CASE (encryption_test)
"2012-07-17T04:45:18+00:00"
);
- kdm.encrypt (signer, signer->leaf(), vector<dcp::Certificate>(), dcp::MODIFIED_TRANSITIONAL_1, -1, -1).as_xml ("build/test/encryption_test.kdm.xml");
+ kdm.encrypt (signer, signer->leaf(), vector<dcp::Certificate>(), dcp::MODIFIED_TRANSITIONAL_1, true, 0).as_xml ("build/test/encryption_test.kdm.xml");
int r = system (
"xmllint --path schema --nonet --noout --schema schema/SMPTE-430-1-2006-Amd-1-2009-KDM.xsd build/test/encryption_test.kdm.xml "