aboutsummaryrefslogtreecommitdiff
path: root/crypto/rsa
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-06-04 22:23:10 +0000
committerBen Laurie <ben@openssl.org>1999-06-04 22:23:10 +0000
commit84c15db551ce1d167b901a3bde2b21880b084384 (patch)
tree77daf2efeb616ef657009c821046a6bd756e0c54 /crypto/rsa
parentca570cfdbcaf35ba7e2554fd18eda8cfab2176e4 (diff)
downloadopenssl-84c15db551ce1d167b901a3bde2b21880b084384.zip
openssl-84c15db551ce1d167b901a3bde2b21880b084384.tar.gz
openssl-84c15db551ce1d167b901a3bde2b21880b084384.tar.bz2
Some constification and stacks that slipped through the cracks (how?).
Diffstat (limited to 'crypto/rsa')
-rw-r--r--crypto/rsa/rsa.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/rsa/rsa.h b/crypto/rsa/rsa.h
index d38d7f9..11f66b6 100644
--- a/crypto/rsa/rsa.h
+++ b/crypto/rsa/rsa.h
@@ -84,8 +84,9 @@ typedef struct rsa_meth_st
int (*rsa_priv_dec)(int flen,unsigned char *from,unsigned char *to,
RSA *rsa,int padding);
int (*rsa_mod_exp)(BIGNUM *r0,BIGNUM *I,RSA *rsa); /* Can be null */
- int (*bn_mod_exp)(BIGNUM *r, BIGNUM *a, BIGNUM *p, BIGNUM *m,
- BN_CTX *ctx,BN_MONT_CTX *m_ctx); /* Can be null */
+ int (*bn_mod_exp)(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
+ const BIGNUM *m, BN_CTX *ctx,
+ BN_MONT_CTX *m_ctx); /* Can be null */
int (*init)(RSA *rsa); /* called at new */
int (*finish)(RSA *rsa); /* called at free */
int flags; /* RSA_METHOD_FLAG_* things */