aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/cvc/cvc_ca.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cert/cvc/cvc_ca.cpp')
-rw-r--r--src/cert/cvc/cvc_ca.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cert/cvc/cvc_ca.cpp b/src/cert/cvc/cvc_ca.cpp
index 8ca8db0c2..814df216b 100644
--- a/src/cert/cvc/cvc_ca.cpp
+++ b/src/cert/cvc/cvc_ca.cpp
@@ -37,8 +37,7 @@ EAC1_1_CVC EAC1_1_CVC_CA::make_cert(std::auto_ptr<PK_Signer> signer,
EAC1_1_CVC::build_cert_body(tbs),
rng);
- std::tr1::shared_ptr<DataSource> source(new DataSource_Memory(signed_cert));
-
+ DataSource_Memory source(signed_cert);
return EAC1_1_CVC(source);
}