summaryrefslogtreecommitdiff
path: root/test/round_trip_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-15 20:53:25 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-15 20:53:25 +0000
commitcb18463291c502979d661b75e9e446f6c9bb0e3c (patch)
tree99f2b5b3bef02dfcc053905f9193f98028eab2bc /test/round_trip_test.cc
parentdc31f6d229c0b0c3d953022594c8bb713ca5d72e (diff)
Support trusted device lists in KDMs.
Diffstat (limited to 'test/round_trip_test.cc')
-rw-r--r--test/round_trip_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/round_trip_test.cc b/test/round_trip_test.cc
index a1f44a3e..45b2cbad 100644
--- a/test/round_trip_test.cc
+++ b/test/round_trip_test.cc
@@ -40,6 +40,7 @@
#include <iostream>
using std::list;
+using std::vector;
using boost::shared_ptr;
using boost::scoped_array;
@@ -81,7 +82,7 @@ BOOST_AUTO_TEST_CASE (round_trip_test)
boost::filesystem::path const kdm_file = work_dir / "kdm.xml";
- kdm_A.encrypt(signer, signer->leaf(), dcp::MODIFIED_TRANSITIONAL_1).as_xml (kdm_file);
+ kdm_A.encrypt(signer, signer->leaf(), vector<dcp::Certificate>(), dcp::MODIFIED_TRANSITIONAL_1).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 ());