summaryrefslogtreecommitdiffstats
path: root/rsaref
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-01-14 18:25:07 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-01-14 18:25:07 +0000
commitee13f9b165362fc5135e83fcb0d9b89e5d4af73c (patch)
tree6f2497fba5a64592b57f5c46e6e1af16a5523f50 /rsaref
parent27eb622b78b653a22f6f081944e0db6e19db2810 (diff)
Fix parameters to dummy function BN_ref_mod_exp().
Diffstat (limited to 'rsaref')
-rw-r--r--rsaref/rsaref.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/rsaref/rsaref.c b/rsaref/rsaref.c
index 324460327d..5f772972d5 100644
--- a/rsaref/rsaref.c
+++ b/rsaref/rsaref.c
@@ -96,7 +96,7 @@ int RSA_ref_public_encrypt(int len, unsigned char *from,
unsigned char *to, RSA *rsa, int padding);
int RSA_ref_public_decrypt(int len, unsigned char *from,
unsigned char *to, RSA *rsa, int padding);
-static int BN_ref_mod_exp(BIGNUM *r,BIGNUM *a,BIGNUM *p,BIGNUM *m, BN_CTX *ctx);
+static int BN_ref_mod_exp(BIGNUM *r,BIGNUM *a,BIGNUM *p,BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
static int RSA_ref_mod_exp(BIGNUM *r0, BIGNUM *I, RSA *rsa);
#else
@@ -144,9 +144,10 @@ RSA *rsa;
return(0);
}
-static int BN_ref_mod_exp(r,a,p,m,ctx)
+static int BN_ref_mod_exp(r,a,p,m,ctx,m_ctx)
BIGNUM *r,*a,*p,*m;
BN_CTX *ctx;
+BN_MONT_CTX *m_ctx;
{
RSAREFerr(RSAREF_F_BN_REF_MOD_EXP,ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return(0);