aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/math/gfpmath/curve_gfp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/gfpmath/curve_gfp.h b/src/math/gfpmath/curve_gfp.h
index 5641e80d1..70225217c 100644
--- a/src/math/gfpmath/curve_gfp.h
+++ b/src/math/gfpmath/curve_gfp.h
@@ -79,7 +79,7 @@ class BOTAN_DLL CurveGFp
* Get prime modulus of the field of the curve
* @result prime modulus of the field of the curve
*/
- const BigInt& get_p() const { return modulus.get_p(); }
+ const BigInt& get_p() const { return modulus; }
/**
* swaps the states of *this and other, does not throw
@@ -88,7 +88,7 @@ class BOTAN_DLL CurveGFp
void swap(CurveGFp& other);
private:
- GFpModulus modulus;
+ BigInt modulus;
GFpElement mA;
GFpElement mB;
GFpElement mres_a, mres_b, mres_one;