summaryrefslogtreecommitdiff
path: root/test/encryption_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/encryption_test.cc')
-rw-r--r--test/encryption_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc
index bab20958..7c8256fa 100644
--- a/test/encryption_test.cc
+++ b/test/encryption_test.cc
@@ -39,6 +39,7 @@
#include <boost/test/unit_test.hpp>
#include <boost/shared_ptr.hpp>
+using std::vector;
using boost::shared_ptr;
/** Load a certificate chain from build/test/data/ *.pem and then build
@@ -132,7 +133,7 @@ BOOST_AUTO_TEST_CASE (encryption_test)
"2012-07-17T04:45:18+00:00"
);
- kdm.encrypt (signer, signer->leaf(), dcp::MODIFIED_TRANSITIONAL_1).as_xml ("build/test/encryption_test.kdm.xml");
+ kdm.encrypt (signer, signer->leaf(), vector<dcp::Certificate>(), dcp::MODIFIED_TRANSITIONAL_1).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 "