summaryrefslogtreecommitdiffstats
path: root/crypto/dsa/dsa_locl.h
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2016-06-24 13:34:51 +0100
committerBen Laurie <ben@links.org>2016-06-24 14:40:33 +0100
commit24bf6f3c7fccd91b5a9d3ab722c712ef4b0530f9 (patch)
treec15d84468529dee2834b9b2ca1892b712b5b0c71 /crypto/dsa/dsa_locl.h
parent0def528bc502a888a3f4ef3c38ea4c5e69fd7375 (diff)
Deal with API changes.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/dsa/dsa_locl.h')
-rw-r--r--crypto/dsa/dsa_locl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/dsa/dsa_locl.h b/crypto/dsa/dsa_locl.h
index 5f9fc1ebf8..9021fce0bf 100644
--- a/crypto/dsa/dsa_locl.h
+++ b/crypto/dsa/dsa_locl.h
@@ -44,11 +44,11 @@ struct dsa_method {
BIGNUM **rp);
int (*dsa_do_verify) (const unsigned char *dgst, int dgst_len,
DSA_SIG *sig, DSA *dsa);
- int (*dsa_mod_exp) (DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1,
- BIGNUM *a2, BIGNUM *p2, BIGNUM *m, BN_CTX *ctx,
- BN_MONT_CTX *in_mont);
+ int (*dsa_mod_exp) (DSA *dsa, BIGNUM *rr, const BIGNUM *a1,
+ const BIGNUM *p1, const BIGNUM *a2, const BIGNUM *p2,
+ const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont);
/* Can be null */
- int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p,
+ int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
int (*init) (DSA *dsa);
int (*finish) (DSA *dsa);