Make preprocessor logic more fail-safe.
[openssl.git] / engines / e_gmp.c
index 64cb039ed8d295e8bb2c2e3f1b989634d38722c9..39da65f74bf136428e3da8fd903e2fef2979da2a 100644 (file)
@@ -101,7 +101,7 @@ static int e_gmp_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void));
 
 #ifndef OPENSSL_NO_RSA
 /* RSA stuff */
-static int e_gmp_rsa_mod_exp(BIGNUM *r, const BIGNUM *I, RSA *rsa);
+static int e_gmp_rsa_mod_exp(BIGNUM *r, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
 static int e_gmp_rsa_finish(RSA *r);
 #endif
 
@@ -361,7 +361,7 @@ static int e_gmp_rsa_finish(RSA *rsa)
        return 1;
        }
 
-static int e_gmp_rsa_mod_exp(BIGNUM *r, const BIGNUM *I, RSA *rsa)
+static int e_gmp_rsa_mod_exp(BIGNUM *r, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
        {
        E_GMP_RSA_CTX *hptr;
        int to_return = 0;