aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_cvt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-02-12 17:23:32 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-02-12 17:23:32 +0000
commitb3310161249a848a5243952467a1f3927ad78bfa (patch)
treeeffad6f46ee2d9e78d9b03807f0e4d97c70804b9 /crypto/ec/ec_cvt.c
parentafb4191304f1fd67569be10f04abf57064cbb197 (diff)
downloadopenssl-b3310161249a848a5243952467a1f3927ad78bfa.tar.gz
New option to disable characteristic two fields in EC code.
Diffstat (limited to 'crypto/ec/ec_cvt.c')
-rw-r--r--crypto/ec/ec_cvt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/ec/ec_cvt.c b/crypto/ec/ec_cvt.c
index d45640bab9..bbed1da455 100644
--- a/crypto/ec/ec_cvt.c
+++ b/crypto/ec/ec_cvt.c
@@ -122,7 +122,7 @@ EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM
return ret;
}
-
+#ifndef OPENSSL_NO_EC2M
EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
{
const EC_METHOD *meth;
@@ -142,3 +142,4 @@ EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, const BIGNUM
return ret;
}
+#endif