summaryrefslogtreecommitdiff
path: root/test/round_trip_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-26 20:33:19 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-26 20:33:19 +0100
commitd87f979ea98a19614f164a0d49fccc1be926e789 (patch)
tree5558493eb6c717f59c587e01a3041d122eb346f4 /test/round_trip_test.cc
parentecd8cbc534e82d0644d15fa483c2b6bf54876276 (diff)
Forward-port KDM formulation from v0.
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 ef1f1f41..311fe6d5 100644
--- a/test/round_trip_test.cc
+++ b/test/round_trip_test.cc
@@ -90,7 +90,7 @@ BOOST_AUTO_TEST_CASE (round_trip_test)
boost::filesystem::path const kdm_file = work_dir / "kdm.xml";
- kdm_A.encrypt(signer, signer->certificates().leaf()).as_xml (kdm_file);
+ kdm_A.encrypt(signer, signer->certificates().leaf(), dcp::MODIFIED_TRANSITIONAL_1).as_xml (kdm_file);
/* Reload the KDM, using our private key to decrypt it */
dcp::DecryptedKDM kdm_B (dcp::EncryptedKDM (kdm_file), "build/test/signer/leaf.key");