From 9984f8318ba9999e39cf2f6688bd41408982cca9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 18 Jul 2014 11:45:19 +0100 Subject: Various small tweaks and fixes. --- test/encryption_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/encryption_test.cc') 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 (new dcp::Certificate (boost::filesystem::path ("test/ref/crypt/ca.self-signed.pem")))); - chain.add (shared_ptr (new dcp::Certificate (boost::filesystem::path ("test/ref/crypt/intermediate.signed.pem")))); - chain.add (shared_ptr (new dcp::Certificate (boost::filesystem::path ("test/ref/crypt/leaf.signed.pem")))); + chain.add (shared_ptr (new dcp::Certificate (dcp::file_to_string ("test/ref/crypt/ca.self-signed.pem")))); + chain.add (shared_ptr (new dcp::Certificate (dcp::file_to_string ("test/ref/crypt/intermediate.signed.pem")))); + chain.add (shared_ptr (new dcp::Certificate (dcp::file_to_string ("test/ref/crypt/leaf.signed.pem")))); shared_ptr signer ( new dcp::Signer ( -- cgit v1.2.3