diff options
Diffstat (limited to 'checks/ec_tests.cpp')
-rw-r--r-- | checks/ec_tests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/checks/ec_tests.cpp b/checks/ec_tests.cpp index df17f672b..8ed975603 100644 --- a/checks/ec_tests.cpp +++ b/checks/ec_tests.cpp @@ -14,6 +14,7 @@ #include <botan/curve_gfp.h> #include <botan/point_gfp.h> #include <botan/ec_group.h> +#include <botan/reducer.h> #include <botan/oids.h> using namespace Botan; @@ -42,7 +43,7 @@ PointGFp create_random_point(RandomNumberGenerator& rng, { const BigInt& p = curve.get_p(); - const Modular_Reducer& mod_p = curve.mod_p(); + Modular_Reducer mod_p(p); while(true) { |