[openssl-commits] [openssl] master update
Kurt Roeckx
kurt at openssl.org
Thu Jul 26 05:10:02 UTC 2018
The branch master has been updated
via 9e4c97774861949f6f987772c0b579fe8a9c7d5a (commit)
from feac7a1c8be49fbcb76fcb721ec9f02fdd91030e (commit)
- Log -----------------------------------------------------------------
commit 9e4c97774861949f6f987772c0b579fe8a9c7d5a
Author: Paul Yang <yang.yang at baishancloud.com>
Date: Fri Jul 20 00:55:20 2018 +0800
Fix a trivial coding style nit in sm2_sign.c
Reviewed-by: Kurt Roeckx <kurt at roeckx.be>
Reviewed-by: Andy Polyakov <appro at openssl.org>
GH: #6787
-----------------------------------------------------------------------
Summary of changes:
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 adde952..1244c05 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)
More information about the openssl-commits
mailing list