diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ec2_smpl.c')
-rw-r--r-- | src/lib/libcrypto/ec/ec2_smpl.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/libcrypto/ec/ec2_smpl.c b/src/lib/libcrypto/ec/ec2_smpl.c index e0e59c7d82..0cf681fa9d 100644 --- a/src/lib/libcrypto/ec/ec2_smpl.c +++ b/src/lib/libcrypto/ec/ec2_smpl.c | |||
@@ -73,16 +73,8 @@ | |||
73 | 73 | ||
74 | #ifndef OPENSSL_NO_EC2M | 74 | #ifndef OPENSSL_NO_EC2M |
75 | 75 | ||
76 | #ifdef OPENSSL_FIPS | ||
77 | #include <openssl/fips.h> | ||
78 | #endif | ||
79 | |||
80 | |||
81 | const EC_METHOD *EC_GF2m_simple_method(void) | 76 | const EC_METHOD *EC_GF2m_simple_method(void) |
82 | { | 77 | { |
83 | #ifdef OPENSSL_FIPS | ||
84 | return fips_ec_gf2m_simple_method(); | ||
85 | #else | ||
86 | static const EC_METHOD ret = { | 78 | static const EC_METHOD ret = { |
87 | EC_FLAGS_DEFAULT_OCT, | 79 | EC_FLAGS_DEFAULT_OCT, |
88 | NID_X9_62_characteristic_two_field, | 80 | NID_X9_62_characteristic_two_field, |
@@ -126,7 +118,6 @@ const EC_METHOD *EC_GF2m_simple_method(void) | |||
126 | 0 /* field_set_to_one */ }; | 118 | 0 /* field_set_to_one */ }; |
127 | 119 | ||
128 | return &ret; | 120 | return &ret; |
129 | #endif | ||
130 | } | 121 | } |
131 | 122 | ||
132 | 123 | ||