summaryrefslogtreecommitdiff
path: root/test/import_dcp_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-09 00:04:23 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-09 00:04:23 +0000
commit1e77753ef4119b6d7df7d2255b1a1d8d6af951de (patch)
tree55d07cd2600939d883402d14d082a981627a1d3a /test/import_dcp_test.cc
parent32dd3b31349f48adb21bf1923f076755705a508c (diff)
Allow specification of trusted devices by thumbprint rather thanv2.13.68
by full certificate.
Diffstat (limited to 'test/import_dcp_test.cc')
-rw-r--r--test/import_dcp_test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/import_dcp_test.cc b/test/import_dcp_test.cc
index 1f5247392..9bec45354 100644
--- a/test/import_dcp_test.cc
+++ b/test/import_dcp_test.cc
@@ -25,6 +25,7 @@
#include "test.h"
#include "lib/film.h"
+#include "lib/screen.h"
#include "lib/dcp_subtitle_content.h"
#include "lib/ratio.h"
#include "lib/dcp_content_type.h"
@@ -38,6 +39,7 @@
#include <boost/test/unit_test.hpp>
using std::vector;
+using std::string;
using boost::shared_ptr;
/** Make an encrypted DCP, import it and make a new unencrypted DCP */
@@ -64,7 +66,7 @@ BOOST_AUTO_TEST_CASE (import_dcp_test)
dcp::EncryptedKDM kdm = A->make_kdm (
Config::instance()->decryption_chain()->leaf (),
- vector<dcp::Certificate> (),
+ vector<string>(),
A_dcp.cpls().front()->file().get(),
dcp::LocalTime ("2014-07-21T00:00:00+00:00"),
dcp::LocalTime ("2024-07-21T00:00:00+00:00"),