diff options
author | Ben Laurie <ben@openssl.org> | 2006-11-08 09:45:12 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2006-11-08 09:45:12 +0000 |
commit | 84948b39dfada6628ab65743fad64cf4714a0a92 (patch) | |
tree | 992002bc6bd29c3cac8678c22a4e7551001a3e07 /crypto | |
parent | cf32ad7fe3410316568ae74c5275574cd5222179 (diff) |
Fix various warnings.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/dsa/dsa.h | 2 | ||||
-rw-r--r-- | crypto/dsa/dsa_ossl.c | 4 | ||||
-rw-r--r-- | crypto/evp/names.c | 3 |
3 files changed, 3 insertions, 6 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; diff --git a/crypto/evp/names.c b/crypto/evp/names.c index 3245f61d68..feaf80dfe8 100644 --- a/crypto/evp/names.c +++ b/crypto/evp/names.c @@ -62,9 +62,6 @@ #include <openssl/objects.h> #include <openssl/x509.h> -extern int obj_cleanup_defer; -extern void check_defer(int nid); - int EVP_add_cipher(const EVP_CIPHER *c) { int r; |