Add VIS3-capable sparcv9-gf2m module.
[openssl.git] / crypto / ec / ec2_smpl.c
index f37347b5e1f6c31e4fc9a1a50405b48508eb180f..9a9476f0c13c16a1a345e4a1563c93d156952ada 100644 (file)
@@ -556,7 +556,7 @@ int ec_GF2m_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_
        field_sqr = group->meth->field_sqr;     
 
        /* only support affine coordinates */
-       if (!point->Z_is_one) goto err;
+       if (!point->Z_is_one) return -1;
 
        if (ctx == NULL)
                {