summaryrefslogtreecommitdiff
path: root/test/round_trip_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-10 21:05:54 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-10 21:05:54 +0000
commit1ee5cc88cb32927f95358e2d03985caf5a1d8e05 (patch)
treedd7a17fbcae7179d79249d5bde08319d6159cf7f /test/round_trip_test.cc
parent0ffc4c35a9ae232f3bed9329997c043c42372f6f (diff)
Move some more stuff up to Package.
Diffstat (limited to 'test/round_trip_test.cc')
-rw-r--r--test/round_trip_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/round_trip_test.cc b/test/round_trip_test.cc
index 48d67add..d41b2567 100644
--- a/test/round_trip_test.cc
+++ b/test/round_trip_test.cc
@@ -47,7 +47,7 @@ using boost::scoped_array;
/** Build an encrypted picture asset and a KDM for it and check that the KDM can be decrypted */
BOOST_AUTO_TEST_CASE (round_trip_test)
{
- shared_ptr<dcp::dc::CertificateChain> signer (new dcp::dc::CertificateChain ("openssl"));
+ shared_ptr<dcp::CertificateChain> signer (new dcp::CertificateChain ("openssl"));
boost::filesystem::path work_dir = "build/test/round_trip_test";
boost::filesystem::create_directory (work_dir);
@@ -82,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(), vector<dcp::dc::Certificate>(), 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::dc::DecryptedKDM kdm_B (dcp::dc::EncryptedKDM (dcp::file_to_string (kdm_file)), signer->key().get ());