diff options
author | lloyd <[email protected]> | 2009-04-01 16:38:08 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-04-01 16:38:08 +0000 |
commit | 327115405b0f483c2b432e2233f355a349b1f9d7 (patch) | |
tree | ced3632266c835e0d4e6a0956a959b1810812539 /src/cert/cvc/cvc_ado.h | |
parent | 62b2008ec3041441a70b8396c7fabba90e42c546 (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_ado.h')
-rw-r--r-- | src/cert/cvc/cvc_ado.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cert/cvc/cvc_ado.h b/src/cert/cvc/cvc_ado.h index 2c4f3ce70..ef469cc09 100644 --- a/src/cert/cvc/cvc_ado.h +++ b/src/cert/cvc/cvc_ado.h @@ -47,7 +47,7 @@ class BOTAN_DLL EAC1_1_ADO : public EAC1_1_obj<EAC1_1_ADO> * @param tbs_bits the TBS data to sign */ static MemoryVector<byte> make_signed( - std::auto_ptr<PK_Signer> signer, + PK_Signer& signer, const MemoryRegion<byte>& tbs_bits, RandomNumberGenerator& rng); |