提交 9e4c9777 编写于 作者: P Paul Yang 提交者: Kurt Roeckx

Fix a trivial coding style nit in sm2_sign.c

Reviewed-by: NKurt Roeckx <kurt@roeckx.be>
Reviewed-by: NAndy Polyakov <appro@openssl.org>
GH: #6787
上级 feac7a1c
...@@ -111,7 +111,7 @@ static ECDSA_SIG *sm2_sig_gen(const EC_KEY *key, const BIGNUM *e) ...@@ -111,7 +111,7 @@ static ECDSA_SIG *sm2_sig_gen(const EC_KEY *key, const BIGNUM *e)
for (;;) { for (;;) {
if (!BN_priv_rand_range(k, order)) { if (!BN_priv_rand_range(k, order)) {
SM2err(SM2_F_SM2_SIG_GEN, ERR_R_INTERNAL_ERROR); SM2err(SM2_F_SM2_SIG_GEN, ERR_R_INTERNAL_ERROR);
goto done; goto done;
} }
if (!EC_POINT_mul(group, kG, k, NULL, NULL, ctx) if (!EC_POINT_mul(group, kG, k, NULL, NULL, ctx)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册