diff options
author | djm <> | 2012-01-05 22:59:13 +0000 |
---|---|---|
committer | djm <> | 2012-01-05 22:59:13 +0000 |
commit | 731838c66b52c0ae5888333005b74115a620aa96 (patch) | |
tree | 112a26c17bdf32e5d76181791e536ba74549e6dc /src/lib/libcrypto/ec | |
parent | 113f799ec7d1728f0a5d7ab5b0e3b42e3de56407 (diff) | |
download | openbsd-731838c66b52c0ae5888333005b74115a620aa96.tar.gz openbsd-731838c66b52c0ae5888333005b74115a620aa96.tar.bz2 openbsd-731838c66b52c0ae5888333005b74115a620aa96.zip |
OpenSSL 1.0.0f: import upstream source
Diffstat (limited to 'src/lib/libcrypto/ec')
-rw-r--r-- | src/lib/libcrypto/ec/ec2_smpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ec/ec2_smpl.c b/src/lib/libcrypto/ec/ec2_smpl.c index af94458ca7..03deae6674 100644 --- a/src/lib/libcrypto/ec/ec2_smpl.c +++ b/src/lib/libcrypto/ec/ec2_smpl.c | |||
@@ -887,7 +887,7 @@ int ec_GF2m_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_ | |||
887 | field_sqr = group->meth->field_sqr; | 887 | field_sqr = group->meth->field_sqr; |
888 | 888 | ||
889 | /* only support affine coordinates */ | 889 | /* only support affine coordinates */ |
890 | if (!point->Z_is_one) goto err; | 890 | if (!point->Z_is_one) return -1; |
891 | 891 | ||
892 | if (ctx == NULL) | 892 | if (ctx == NULL) |
893 | { | 893 | { |