diff options
author | Ben Laurie <ben@openssl.org> | 1999-06-04 22:23:10 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-06-04 22:23:10 +0000 |
commit | 84c15db551ce1d167b901a3bde2b21880b084384 (patch) | |
tree | 77daf2efeb616ef657009c821046a6bd756e0c54 /crypto/rsa/rsa.h | |
parent | ca570cfdbcaf35ba7e2554fd18eda8cfab2176e4 (diff) | |
download | openssl-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/rsa.h')
-rw-r--r-- | crypto/rsa/rsa.h | 5 |
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 */ |