diff options
author | Ben Laurie <ben@openssl.org> | 2006-11-08 10:45:12 +0100 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2006-11-08 10:45:12 +0100 |
commit | 84948b39dfada6628ab65743fad64cf4714a0a92 (patch) | |
tree | 992002bc6bd29c3cac8678c22a4e7551001a3e07 /crypto/dsa | |
parent | Make TSA tests use the noprompt mode of utilities rather than piping (diff) | |
download | openssl-84948b39dfada6628ab65743fad64cf4714a0a92.tar.xz openssl-84948b39dfada6628ab65743fad64cf4714a0a92.zip |
Fix various warnings.
Diffstat (limited to 'crypto/dsa')
-rw-r--r-- | crypto/dsa/dsa.h | 2 | ||||
-rw-r--r-- | crypto/dsa/dsa_ossl.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h index ff68bc01a4..43fa855f10 100644 --- a/crypto/dsa/dsa.h +++ b/crypto/dsa/dsa.h @@ -118,7 +118,7 @@ struct dsa_method int (*dsa_sign_setup)(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp); int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len, - DSA_SIG *sig, DSA *dsa); + 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); diff --git a/crypto/dsa/dsa_ossl.c b/crypto/dsa/dsa_ossl.c index 2fab8dc65a..36220a6a55 100644 --- a/crypto/dsa/dsa_ossl.c +++ b/crypto/dsa/dsa_ossl.c @@ -68,7 +68,7 @@ static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp); static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, - DSA *dsa); + DSA *dsa); static int dsa_init(DSA *dsa); static int dsa_finish(DSA *dsa); @@ -291,7 +291,7 @@ err: } static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, - DSA *dsa) + DSA *dsa) { BN_CTX *ctx; BIGNUM u1,u2,t1; |