projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feac7a1
)
Fix a trivial coding style nit in sm2_sign.c
author
Paul Yang
<yang.yang@baishancloud.com>
Thu, 19 Jul 2018 16:55:20 +0000
(
00:55
+0800)
committer
Kurt Roeckx
<kurt@roeckx.be>
Thu, 26 Jul 2018 05:09:22 +0000
(07:09 +0200)
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Andy Polyakov <appro@openssl.org>
GH: #6787
crypto/sm2/sm2_sign.c
patch
|
blob
|
history
diff --git
a/crypto/sm2/sm2_sign.c
b/crypto/sm2/sm2_sign.c
index adde9520ce7b54ab2d8840a9f80a659e737593e2..1244c05ea8d1ba59c45bad7a1a05e37d0ce27243 100644
(file)
--- 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)