summaryrefslogtreecommitdiff
path: root/test/encryption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-21 15:42:48 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-21 15:42:48 +0100
commit55c649e790b73e3f8d493cd12c346e3bddcba25d (patch)
tree4f50d87782a4ec58219e5a2ef468075b5e4d36f7 /test/encryption_test.cc
parent19356a292ba53b6d40270b1e74af5dad2304dbd5 (diff)
Remove some shared_ptr-itis.
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 e5acdbce..071de9db 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 (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"))));
+ chain.add (dcp::Certificate (dcp::file_to_string ("test/ref/crypt/ca.self-signed.pem")));
+ chain.add (dcp::Certificate (dcp::file_to_string ("test/ref/crypt/intermediate.signed.pem")));
+ chain.add (dcp::Certificate (dcp::file_to_string ("test/ref/crypt/leaf.signed.pem")));
shared_ptr<dcp::Signer> signer (
new dcp::Signer (