aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/cvc/cvc_ca.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-04-01 16:38:08 +0000
committerlloyd <[email protected]>2009-04-01 16:38:08 +0000
commit327115405b0f483c2b432e2233f355a349b1f9d7 (patch)
treeced3632266c835e0d4e6a0956a959b1810812539 /src/cert/cvc/cvc_ca.cpp
parent62b2008ec3041441a70b8396c7fabba90e42c546 (diff)
Replace the (deprecated) auto_ptr with unique_ptr.
This was mostly a s/auto_ptr/unique_ptr/, except in the CVC code and one function in ECDSA, which relied on auto_ptr's move semantics (ugh) and had to be modified in various ways.
Diffstat (limited to 'src/cert/cvc/cvc_ca.cpp')
-rw-r--r--src/cert/cvc/cvc_ca.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cert/cvc/cvc_ca.cpp b/src/cert/cvc/cvc_ca.cpp
index 638d3f984..7b1c5fcba 100644
--- a/src/cert/cvc/cvc_ca.cpp
+++ b/src/cert/cvc/cvc_ca.cpp
@@ -5,7 +5,7 @@
#include <botan/oids.h>
namespace Botan {
-EAC1_1_CVC EAC1_1_CVC_CA::make_cert(std::auto_ptr<PK_Signer> signer,
+EAC1_1_CVC EAC1_1_CVC_CA::make_cert(PK_Signer& signer,
MemoryRegion<byte> const& public_key,
ASN1_Car const& car,
ASN1_Chr const& chr,