Skip to content

Commit

Permalink
Yet more changes to comments
Browse files Browse the repository at this point in the history
Reviewed-by: Tim Hudson <tjh@openssl.org>
  • Loading branch information
mattcaswell committed Jan 22, 2015
1 parent c583d40 commit e3db68b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion crypto/ec/ec2_smpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,8 @@ int ec_GF2m_simple_oct2point(const EC_GROUP *group, EC_POINT *point,
if (!EC_POINT_set_affine_coordinates_GF2m(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_GF2M_SIMPLE_OCT2POINT, EC_R_POINT_IS_NOT_ON_CURVE);
goto err;
Expand Down
3 changes: 2 additions & 1 deletion crypto/ec/ecp_smpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,8 @@ 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;
Expand Down
3 changes: 2 additions & 1 deletion ssl/t1_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ static int tls1_P_hash(const EVP_MD *md, const unsigned char *sec,
goto err;
out+=j;
olen-=j;
if (!HMAC_Final(&ctx_tmp,A1,&A1_len)) /* calc the next A1 value */
/* calc the next A1 value */
if (!HMAC_Final(&ctx_tmp,A1,&A1_len))
goto err;
}
else /* last one */
Expand Down

0 comments on commit e3db68b

Please sign in to comment.