diff options
author | lloyd <[email protected]> | 2010-03-13 18:06:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-13 18:06:31 +0000 |
commit | 47dbe2b1ab08dad17b157f9ed59767c44256f11d (patch) | |
tree | 3e664ae407107990519a8865580477aa734d2af3 /checks/ec_tests.cpp | |
parent | 7859fcfd64579d0539b7d16e7a576f936ccc1f97 (diff) | |
parent | 6a8c00e903ea63828319460133a651c410b86185 (diff) |
propagate from branch 'net.randombit.botan' (head 5e9c6107cbb15744c2edf2eb0e23f4bfe949f432)
to branch 'net.randombit.botan.c++0x' (head 79e5920a8bba479b9e5734f8649b8c36d27d403c)
Diffstat (limited to 'checks/ec_tests.cpp')
-rw-r--r-- | checks/ec_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/ec_tests.cpp b/checks/ec_tests.cpp index b3111455d..d86645dbc 100644 --- a/checks/ec_tests.cpp +++ b/checks/ec_tests.cpp @@ -613,11 +613,11 @@ void test_enc_dec_uncompressed_521_prime_too_large() BigInt bi_b_secp = BigInt::decode ( sv_b_secp.begin(), sv_b_secp.size() ); CurveGFp secp521r1 (bi_p_secp, bi_a_secp, bi_b_secp); - std::auto_ptr<PointGFp> p_G; + std::unique_ptr<PointGFp> p_G; bool exc = false; try { - p_G = std::auto_ptr<PointGFp>(new PointGFp(OS2ECP ( sv_G_secp_uncomp, secp521r1))); + p_G = std::unique_ptr<PointGFp>(new PointGFp(OS2ECP ( sv_G_secp_uncomp, secp521r1))); p_G->check_invariants(); } catch (std::exception e) |