From: Paul Yang Date: Thu, 19 Jul 2018 16:55:20 +0000 (+0800) Subject: Fix a trivial coding style nit in sm2_sign.c X-Git-Tag: OpenSSL_1_1_1-pre9~84 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=9e4c97774861949f6f987772c0b579fe8a9c7d5a Fix a trivial coding style nit in sm2_sign.c Reviewed-by: Kurt Roeckx Reviewed-by: Andy Polyakov GH: #6787 --- diff --git a/crypto/sm2/sm2_sign.c b/crypto/sm2/sm2_sign.c index adde9520ce..1244c05ea8 100644 --- a/crypto/sm2/sm2_sign.c +++ b/crypto/sm2/sm2_sign.c @@ -111,7 +111,7 @@ static ECDSA_SIG *sm2_sig_gen(const EC_KEY *key, const BIGNUM *e) for (;;) { if (!BN_priv_rand_range(k, order)) { SM2err(SM2_F_SM2_SIG_GEN, ERR_R_INTERNAL_ERROR); - goto done; + goto done; } if (!EC_POINT_mul(group, kG, k, NULL, NULL, ctx)