diff options
author | Ulf Möller <ulf@openssl.org> | 2001-03-28 05:10:38 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2001-03-28 05:10:38 +0000 |
commit | 7d7672f119c8e57148b399a7b70f72bf1910bdc1 (patch) | |
tree | 2d5da0fd1536835295131d0120dc5b1bf9bbd44b /crypto/rsa/rsa_eay.c | |
parent | 6a5b52efa0da422c517897433b78efc3658c13bc (diff) |
check CRT
Diffstat (limited to 'crypto/rsa/rsa_eay.c')
-rw-r--r-- | crypto/rsa/rsa_eay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rsa/rsa_eay.c b/crypto/rsa/rsa_eay.c index ba530b8f00..06f73fc8ff 100644 --- a/crypto/rsa/rsa_eay.c +++ b/crypto/rsa/rsa_eay.c @@ -544,10 +544,10 @@ static int RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa) if (rsa->e && rsa->n) { - if (!rsa->meth->bn_mod_exp(&vrfy,r0,rsa->e,rsa->n,ctx,NULL)) goto err; + if (!meth->bn_mod_exp(&vrfy,r0,rsa->e,rsa->n,ctx,NULL)) goto err; if (BN_cmp(I, &vrfy) != 0) { - if (!rsa->meth->bn_mod_exp(r0,I,rsa->d,rsa->n,ctx,NULL)) goto err; + if (!meth->bn_mod_exp(r0,I,rsa->d,rsa->n,ctx,NULL)) goto err; } } ret=1; |