check CRT
authorUlf Möller <ulf@openssl.org>
Wed, 28 Mar 2001 05:10:38 +0000 (05:10 +0000)
committerUlf Möller <ulf@openssl.org>
Wed, 28 Mar 2001 05:10:38 +0000 (05:10 +0000)
crypto/rsa/rsa_eay.c

index ba530b8f00a63825244d9731365ca97b377c6345..06f73fc8ff60c5530fe1904350faad6ddca1e73d 100644 (file)
@@ -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;