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_gen.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_gen.c')
-rw-r--r-- | crypto/rsa/rsa_gen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_gen.c b/crypto/rsa/rsa_gen.c index 89e2f2e2e2..3ed6edd6a1 100644 --- a/crypto/rsa/rsa_gen.c +++ b/crypto/rsa/rsa_gen.c @@ -157,7 +157,7 @@ RSA *RSA_generate_key(int bits, unsigned long e_value, goto err; } */ - rsa->d=(BIGNUM *)BN_mod_inverse(NULL,rsa->e,r0,ctx2); /* d */ + rsa->d=BN_mod_inverse(NULL,rsa->e,r0,ctx2); /* d */ if (rsa->d == NULL) goto err; /* calculate d mod (p-1) */ |