X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=engines%2Fe_cswift.c;h=db94bf2a64ab9af32e2292d3085f5a0c503ea93e;hp=c429802d5f9b840493f3928a432e4a49a3071fff;hb=d6fbb194095312f4722c81c9362dbd0de66cb656;hpb=6f1a93ad111c7dfe36a09a976c4c009079b19ea1 diff --git a/engines/e_cswift.c b/engines/e_cswift.c index c429802d5f..db94bf2a64 100644 --- a/engines/e_cswift.c +++ b/engines/e_cswift.c @@ -748,11 +748,7 @@ static int cswift_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, # ifdef RSA_NULL def_rsa_method = RSA_null_method(); # else -# if 0 - def_rsa_method = RSA_PKCS1_RSAref(); -# else def_rsa_method = RSA_PKCS1_SSLeay(); -# endif # endif if (def_rsa_method) return def_rsa_method->rsa_mod_exp(r0, I, rsa, ctx); @@ -777,11 +773,7 @@ static int cswift_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, # ifdef RSA_NULL def_rsa_method = RSA_null_method(); # else -# if 0 - def_rsa_method = RSA_PKCS1_RSAref(); -# else def_rsa_method = RSA_PKCS1_SSLeay(); -# endif # endif if (def_rsa_method) return def_rsa_method->bn_mod_exp(r, a, p, m, ctx, m_ctx);