diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_smpl.c')
-rw-r--r-- | src/lib/libcrypto/ec/ecp_smpl.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/libcrypto/ec/ecp_smpl.c b/src/lib/libcrypto/ec/ecp_smpl.c index cd05fd1251..bf0ad998dd 100644 --- a/src/lib/libcrypto/ec/ecp_smpl.c +++ b/src/lib/libcrypto/ec/ecp_smpl.c | |||
@@ -64,17 +64,10 @@ | |||
64 | 64 | ||
65 | #include <openssl/err.h> | 65 | #include <openssl/err.h> |
66 | 66 | ||
67 | #ifdef OPENSSL_FIPS | ||
68 | #include <openssl/fips.h> | ||
69 | #endif | ||
70 | |||
71 | #include "ec_lcl.h" | 67 | #include "ec_lcl.h" |
72 | 68 | ||
73 | const EC_METHOD *EC_GFp_simple_method(void) | 69 | const EC_METHOD *EC_GFp_simple_method(void) |
74 | { | 70 | { |
75 | #ifdef OPENSSL_FIPS | ||
76 | return fips_ec_gfp_simple_method(); | ||
77 | #else | ||
78 | static const EC_METHOD ret = { | 71 | static const EC_METHOD ret = { |
79 | EC_FLAGS_DEFAULT_OCT, | 72 | EC_FLAGS_DEFAULT_OCT, |
80 | NID_X9_62_prime_field, | 73 | NID_X9_62_prime_field, |
@@ -115,7 +108,6 @@ const EC_METHOD *EC_GFp_simple_method(void) | |||
115 | 0 /* field_set_to_one */ }; | 108 | 0 /* field_set_to_one */ }; |
116 | 109 | ||
117 | return &ret; | 110 | return &ret; |
118 | #endif | ||
119 | } | 111 | } |
120 | 112 | ||
121 | 113 | ||