diff options
author | lloyd <[email protected]> | 2009-09-08 23:59:48 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-09-08 23:59:48 +0000 |
commit | 91c7165b698e34c9bbdbcaafe1dd28459fc8c804 (patch) | |
tree | dbe6b0152dbd0e035eebefdf8c98497adec2816d /src/pubkey/eckaeg/eckaeg.h | |
parent | 166e979eebe6e3f136df4deba626b584e1d735ae (diff) | |
parent | abcfd1cf4b351f856c2df11ed1cd972a3a5155a9 (diff) |
propagate from branch 'net.randombit.botan' (head 5cadcc57872bef55226579df57349fe09a93d1f5)
to branch 'net.randombit.botan.c++0x' (head d1747f0394aa4442e5b32b9102b830e1a86f0e5a)
Diffstat (limited to 'src/pubkey/eckaeg/eckaeg.h')
-rw-r--r-- | src/pubkey/eckaeg/eckaeg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pubkey/eckaeg/eckaeg.h b/src/pubkey/eckaeg/eckaeg.h index 31b65740c..053a40e4f 100644 --- a/src/pubkey/eckaeg/eckaeg.h +++ b/src/pubkey/eckaeg/eckaeg.h @@ -89,7 +89,7 @@ class BOTAN_DLL ECKAEG_PrivateKey : public ECKAEG_PublicKey, ECKAEG_PrivateKey(RandomNumberGenerator& rng, const EC_Domain_Params& dom_pars) { - mp_dom_pars = std::auto_ptr<EC_Domain_Params>(new EC_Domain_Params(dom_pars)); + mp_dom_pars = std::unique_ptr<EC_Domain_Params>(new EC_Domain_Params(dom_pars)); generate_private_key(rng); mp_public_point->check_invariants(); m_eckaeg_core = ECKAEG_Core(*mp_dom_pars, m_private_value, *mp_public_point); |