Yet more changes to comments OpenSSL_1_0_0-pre-auto-reformat
authorMatt Caswell <matt@openssl.org>
Thu, 22 Jan 2015 00:57:19 +0000 (00:57 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 22 Jan 2015 09:46:13 +0000 (09:46 +0000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/ec/ec2_smpl.c
crypto/ec/ecp_smpl.c
ssl/t1_enc.c

index 1851cfdee16b0578a60cabc8b90c6d933a93f6ca..f8441a20f9458f68e6d1c1058ca2199a14337b0f 100644 (file)
@@ -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;
index 7c9d1d0a31f0ac1a0f76d8cafe2b7b3bddc4807e..e68eb2fc2838954705a345ac34c3203523f6c7bd 100644 (file)
@@ -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;
index df287fdf04abc4c3c53c36b93a6185078af5d9fd..c200839cc8b1b34f5a9de415bdf87caf874872e2 100644 (file)
@@ -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 */