diff options
author | lloyd <[email protected]> | 2008-10-09 06:09:34 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-09 06:09:34 +0000 |
commit | b2544af17f8316318631011ea0e1ea0a83c8fcdc (patch) | |
tree | 3b8d461458c7b8ca961b08466fef57138a886e5e /checks/gfpmath.cpp | |
parent | e1ed53ca9cd45c0e1bb193d777e448c4d9d21c4e (diff) |
Add stub if GF(p) is disabled
Diffstat (limited to 'checks/gfpmath.cpp')
-rw-r--r-- | checks/gfpmath.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/checks/gfpmath.cpp b/checks/gfpmath.cpp index 6e658ed7c..1c9f39611 100644 --- a/checks/gfpmath.cpp +++ b/checks/gfpmath.cpp @@ -10,11 +10,10 @@ #include "validate.h" -#include <botan/bigint.h> -#include <botan/numthry.h> - #if defined(BOTAN_HAS_BIGINT_GFP) +#include <botan/bigint.h> +#include <botan/numthry.h> #include <botan/gfp_element.h> #include <botan/gfp_modulus.h> #include <botan/curve_gfp.h> @@ -707,5 +706,5 @@ u32bit do_gfpmath_tests(Botan::RandomNumberGenerator& rng) return 0; } #else -u32bit do_gfpmath_tests(Botan::RandomNumberGenerator& rng); +u32bit do_gfpmath_tests(Botan::RandomNumberGenerator& rng) { return 0; } #endif |