projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Eliminate a warning: BN_mod_inverse() returns a (BIGNUM *) and remove and
[openssl.git]
/
crypto
/
rsa
/
rsa_chk.c
diff --git
a/crypto/rsa/rsa_chk.c
b/crypto/rsa/rsa_chk.c
index 8e99fe019dd67e1d2bf131d4f7b7074990036437..50c5947412b93dcd1b8980ad1f2ccac0c21e1c9e 100644
(file)
--- a/
crypto/rsa/rsa_chk.c
+++ b/
crypto/rsa/rsa_chk.c
@@
-131,8
+131,7
@@
int RSA_check_key(RSA *key)
}
/* iqmp = q^-1 mod p? */
- r = BN_mod_inverse(i, key->q, key->p, ctx);
- if (!r) { ret = -1; goto err; }
+ if(!BN_mod_inverse(i, key->q, key->p, ctx)) { ret = -1; goto err; }
if (BN_cmp(i, key->iqmp) != 0)
{