summaryrefslogtreecommitdiff
path: root/test/kdm_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-18 00:15:34 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-18 00:15:34 +0100
commit56e7a6f1768036df852a45d939b9adc038b17057 (patch)
tree93cf6bb1fb7c9ebe43de09d7690e69cd75b634ea /test/kdm_test.cc
parent0b85b9216da9d6519a553de67103a9417504aba1 (diff)
Quite large reworking of signer/cert handling.
Diffstat (limited to 'test/kdm_test.cc')
-rw-r--r--test/kdm_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/kdm_test.cc b/test/kdm_test.cc
index 7de62f5a..1fc76dba 100644
--- a/test/kdm_test.cc
+++ b/test/kdm_test.cc
@@ -21,6 +21,7 @@
#include <libxml++/libxml++.h>
#include "encrypted_kdm.h"
#include "decrypted_kdm.h"
+#include "util.h"
using std::list;
using std::stringstream;
@@ -30,7 +31,7 @@ BOOST_AUTO_TEST_CASE (kdm_test)
{
dcp::DecryptedKDM kdm (
dcp::EncryptedKDM ("test/data/kdm_TONEPLATES-SMPTE-ENC_.smpte-430-2.ROOT.NOT_FOR_PRODUCTION_20130706_20230702_CAR_OV_t1_8971c838.xml"),
- "test/data/private.key"
+ dcp::file_to_string ("test/data/private.key")
);
list<dcp::DecryptedKDMKey> keys = kdm.keys ();