summaryrefslogtreecommitdiff
path: root/test/kdm_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/kdm_test.cc')
-rw-r--r--test/kdm_test.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/kdm_test.cc b/test/kdm_test.cc
index b312c754..76a7457c 100644
--- a/test/kdm_test.cc
+++ b/test/kdm_test.cc
@@ -148,7 +148,10 @@ kdm_forensic_test (cxml::Document& doc, int picture, int audio)
signer, signer->leaf(), vector<dcp::Certificate>(), dcp::MODIFIED_TRANSITIONAL_1, picture, audio
);
- doc.read_string (kdm.as_xml ());
+ /* Check that we can pass this through correctly */
+ BOOST_CHECK_EQUAL (kdm.as_xml(), dcp::EncryptedKDM(kdm.as_xml()).as_xml());
+
+ doc.read_string (kdm.as_xml());
return doc.node_child("AuthenticatedPublic")->
node_child("RequiredExtensions")->