diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-02-12 17:23:32 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-02-12 17:23:32 +0000 |
commit | b3310161249a848a5243952467a1f3927ad78bfa (patch) | |
tree | effad6f46ee2d9e78d9b03807f0e4d97c70804b9 /crypto/ec/eck_prn.c | |
parent | afb4191304f1fd67569be10f04abf57064cbb197 (diff) | |
download | openssl-b3310161249a848a5243952467a1f3927ad78bfa.tar.gz |
New option to disable characteristic two fields in EC code.
Diffstat (limited to 'crypto/ec/eck_prn.c')
-rw-r--r-- | crypto/ec/eck_prn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/ec/eck_prn.c b/crypto/ec/eck_prn.c index 7d3e175ae7..06de8f3959 100644 --- a/crypto/ec/eck_prn.c +++ b/crypto/ec/eck_prn.c @@ -207,7 +207,7 @@ int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off) reason = ERR_R_MALLOC_FAILURE; goto err; } - +#ifndef OPENSSL_NO_EC2M if (is_char_two) { if (!EC_GROUP_get_curve_GF2m(x, p, a, b, ctx)) @@ -217,6 +217,7 @@ int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off) } } else /* prime field */ +#endif { if (!EC_GROUP_get_curve_GFp(x, p, a, b, ctx)) { |