diff options
author | lloyd <[email protected]> | 2014-02-09 17:18:35 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-02-09 17:18:35 +0000 |
commit | 313b92a3d352c8f32685a4b56015644b14117c08 (patch) | |
tree | 4294525236acbb2e2f1a897869f453d0079d111f /src/tests | |
parent | d0d68e56fac6d25c0a3b176bf4e0b43340e660fc (diff) |
Compile fixes
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/unit_ecc.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/tests/unit_ecc.cpp b/src/tests/unit_ecc.cpp index 3a4fbe5a3..666802a89 100644 --- a/src/tests/unit_ecc.cpp +++ b/src/tests/unit_ecc.cpp @@ -775,7 +775,7 @@ size_t test_mult_sec_mass() { size_t fails = 0; - RandomNumberGenerator rng; + AutoSeeded_RNG rng; EC_Group dom_pars(OID("1.3.132.0.8")); for(int i = 0; i<50; i++) @@ -815,8 +815,6 @@ size_t test_ecc_unit() size_t fails = 0; #if defined(BOTAN_HAS_ECC_GROUP) - AutoSeeded_RNG rng; - fails += test_point_turn_on_sp_red_mul(); fails += test_coordinates(); fails += test_point_transformation (); @@ -838,8 +836,8 @@ size_t test_ecc_unit() fails += test_cdc_curve_33(); fails += test_more_zeropoint(); fails += test_mult_by_order(); - fails += test_point_swap(rng); - fails += test_mult_sec_mass(rng); + fails += test_point_swap(); + fails += test_mult_sec_mass(); fails += test_curve_cp_ctor(); test_report("ECC", 0, fails); #endif |