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/x509/x509stor.cpp | |
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/x509/x509stor.cpp')
-rw-r--r-- | src/cert/x509/x509stor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cert/x509/x509stor.cpp b/src/cert/x509/x509stor.cpp index cb61bc2d2..f91da890b 100644 --- a/src/cert/x509/x509stor.cpp +++ b/src/cert/x509/x509stor.cpp @@ -380,8 +380,8 @@ X509_Code X509_Store::check_sig(const Cert_Info& cert_info, */ X509_Code X509_Store::check_sig(const X509_Object& object, Public_Key* key) { - std::auto_ptr<Public_Key> pub_key(key); - std::auto_ptr<PK_Verifier> verifier; + std::unique_ptr<Public_Key> pub_key(key); + std::unique_ptr<PK_Verifier> verifier; try { std::vector<std::string> sig_info = |