diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-07-13 02:00:05 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-07-13 02:00:05 +0200 |
commit | 924154d9f2d715b229077f594d928d7b2962814d (patch) | |
tree | 7d11d073bcfabed872b5caebd7525bb63a67bcdf /crypto/rsa/rsa_chk.c | |
parent | Continues NASM support. This might work now. Its still experimental but it (diff) | |
download | openssl-924154d9f2d715b229077f594d928d7b2962814d.tar.xz openssl-924154d9f2d715b229077f594d928d7b2962814d.zip |
Eliminate a warning: BN_mod_inverse() returns a (BIGNUM *) and remove and
unnecessary cast.
Diffstat (limited to 'crypto/rsa/rsa_chk.c')
-rw-r--r-- | crypto/rsa/rsa_chk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/rsa/rsa_chk.c b/crypto/rsa/rsa_chk.c index 8e99fe019d..50c5947412 100644 --- 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) { |