X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=engines%2Fe_nuron.c;h=4c2537cbc30d6f7b97128aad0ac663efbd785574;hp=f6875d1fa8fe92a53efd5e3c90b7ac20a3c8e1a0;hb=3eeaab4bed46e3320947d0f609b82007b65b5a46;hpb=57eb1d32508b2debfbab605ebf9ac156c4008272;ds=sidebyside diff --git a/engines/e_nuron.c b/engines/e_nuron.c index f6875d1fa8..4c2537cbc3 100644 --- a/engines/e_nuron.c +++ b/engines/e_nuron.c @@ -62,9 +62,15 @@ #include #include #include +#ifndef OPENSSL_NO_RSA #include +#endif +#ifndef OPENSSL_NO_DSA #include +#endif +#ifndef OPENSSL_NO_DH #include +#endif #include #ifndef OPENSSL_NO_HW @@ -242,11 +248,13 @@ static int nuron_mod_exp_dsa(DSA *dsa, BIGNUM *r, BIGNUM *a, #endif /* This function is aliased to mod_exp (with the mont stuff dropped). */ +#ifndef OPENSSL_NO_RSA static int nuron_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) { return nuron_mod_exp(r, a, p, m, ctx); } +#endif #ifndef OPENSSL_NO_DH /* This function is aliased to mod_exp (with the dh and mont dropped). */