diff options
author | Paul Yang <yang.yang@baishancloud.com> | 2018-07-20 00:55:20 +0800 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2018-07-26 07:09:22 +0200 |
commit | 9e4c97774861949f6f987772c0b579fe8a9c7d5a (patch) | |
tree | bfd70481894b18b089b178823f352780050387c1 /crypto/sm2 | |
parent | feac7a1c8be49fbcb76fcb721ec9f02fdd91030e (diff) |
Fix a trivial coding style nit in sm2_sign.c
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Andy Polyakov <appro@openssl.org>
GH: #6787
Diffstat (limited to 'crypto/sm2')
-rw-r--r-- | crypto/sm2/sm2_sign.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |