diff options
author | lloyd <[email protected]> | 2015-03-08 14:15:34 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2015-03-08 14:15:34 +0000 |
commit | f0ccd62149e466d4fbf1fb2c57227c4d3cee190c (patch) | |
tree | 1db968e1b23c96dba5e830247684a2a90459b084 /src/cmd/dsa_sign.cpp | |
parent | 6fcdb56ee42078172d44529d55a57bf377f5ae53 (diff) |
Fix memory leak in TLS tests. Remove last few remaining uses of auto_ptr.
Diffstat (limited to 'src/cmd/dsa_sign.cpp')
-rw-r--r-- | src/cmd/dsa_sign.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dsa_sign.cpp b/src/cmd/dsa_sign.cpp index c052b8a73..baf884301 100644 --- a/src/cmd/dsa_sign.cpp +++ b/src/cmd/dsa_sign.cpp @@ -49,7 +49,7 @@ int dsa_sign(int argc, char* argv[]) AutoSeeded_RNG rng; - std::auto_ptr<PKCS8_PrivateKey> key( + std::unique_ptr<PKCS8_PrivateKey> key( PKCS8::load_key(argv[1], rng, passphrase) ); |