summaryrefslogtreecommitdiff
path: root/test/encryption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-18 11:45:19 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-18 11:45:19 +0100
commit9984f8318ba9999e39cf2f6688bd41408982cca9 (patch)
treea74ace56260cbea8f326bc0cf9f5ca99e74353f0 /test/encryption_test.cc
parent56e7a6f1768036df852a45d939b9adc038b17057 (diff)
Various small tweaks and fixes.
Diffstat (limited to 'test/encryption_test.cc')
-rw-r--r--test/encryption_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc
index 6d2e052e..e096c5fd 100644
--- a/test/encryption_test.cc
+++ b/test/encryption_test.cc
@@ -67,9 +67,9 @@ BOOST_AUTO_TEST_CASE (encryption_test)
/* Use test/ref/crypt so this test is repeatable */
dcp::CertificateChain chain;
- chain.add (shared_ptr<dcp::Certificate> (new dcp::Certificate (boost::filesystem::path ("test/ref/crypt/ca.self-signed.pem"))));
- chain.add (shared_ptr<dcp::Certificate> (new dcp::Certificate (boost::filesystem::path ("test/ref/crypt/intermediate.signed.pem"))));
- chain.add (shared_ptr<dcp::Certificate> (new dcp::Certificate (boost::filesystem::path ("test/ref/crypt/leaf.signed.pem"))));
+ chain.add (shared_ptr<dcp::Certificate> (new dcp::Certificate (dcp::file_to_string ("test/ref/crypt/ca.self-signed.pem"))));
+ chain.add (shared_ptr<dcp::Certificate> (new dcp::Certificate (dcp::file_to_string ("test/ref/crypt/intermediate.signed.pem"))));
+ chain.add (shared_ptr<dcp::Certificate> (new dcp::Certificate (dcp::file_to_string ("test/ref/crypt/leaf.signed.pem"))));
shared_ptr<dcp::Signer> signer (
new dcp::Signer (