aboutsummaryrefslogtreecommitdiff
path: root/crypto/ec/ecp_oct.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-01-21 19:18:47 +0000
committerMatt Caswell <matt@openssl.org>2015-01-22 09:20:09 +0000
commit68d39f3ce6ff4f65170d94f7310b3f485f33328d (patch)
tree789d8aeaf5401f2f8f5ee256ba36f5b8edb7261a /crypto/ec/ecp_oct.c
parentf9be4da00e0db2f23c0d888b4c9e0727b8d0f20b (diff)
downloadopenssl-68d39f3ce6ff4f65170d94f7310b3f485f33328d.zip
openssl-68d39f3ce6ff4f65170d94f7310b3f485f33328d.tar.gz
openssl-68d39f3ce6ff4f65170d94f7310b3f485f33328d.tar.bz2
Move more comments that confuse indent
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/ec/ecp_oct.c')
-rw-r--r--crypto/ec/ecp_oct.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/ec/ecp_oct.c b/crypto/ec/ecp_oct.c
index ba89167..cba7e4a 100644
--- a/crypto/ec/ecp_oct.c
+++ b/crypto/ec/ecp_oct.c
@@ -416,8 +416,9 @@ int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point,
if (!EC_POINT_set_affine_coordinates_GFp(group, point, x, y, ctx)) goto err;
}
-
- if (!EC_POINT_is_on_curve(group, point, ctx)) /* test required by X9.62 */
+
+ /* test required by X9.62 */
+ if (!EC_POINT_is_on_curve(group, point, ctx))
{
ECerr(EC_F_EC_GFP_SIMPLE_OCT2POINT, EC_R_POINT_IS_NOT_ON_CURVE);
goto err;