From 9e4c97774861949f6f987772c0b579fe8a9c7d5a Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Fri, 20 Jul 2018 00:55:20 +0800 Subject: [PATCH] Fix a trivial coding style nit in sm2_sign.c Reviewed-by: Kurt Roeckx Reviewed-by: Andy Polyakov GH: #6787 --- crypto/sm2/sm2_sign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.40.0