diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-10-20 15:12:00 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-10-20 15:12:00 +0000 |
commit | 606f6c477a0eff3573d26d172bc832add095c44e (patch) | |
tree | 77fad8ebb127dac8c960ca2add5492adf1ed4f9e /crypto/objects/obj_xref.c | |
parent | 1581f822439eb6c2aa94565bcbd76430912b40f3 (diff) |
Fix a shed load or warnings:
Duplicate const.
Use of ; outside function.
Diffstat (limited to 'crypto/objects/obj_xref.c')
-rw-r--r-- | crypto/objects/obj_xref.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/objects/obj_xref.c b/crypto/objects/obj_xref.c index 3e85e7a576..30d544b1a4 100644 --- a/crypto/objects/obj_xref.c +++ b/crypto/objects/obj_xref.c @@ -67,8 +67,8 @@ static int cmp_sig(const nid_triple *a, const nid_triple *b) return a->sign_id - b->sign_id; } -DECLARE_OBJ_BSEARCH_CMP_FN(const nid_triple, const nid_triple, cmp_sig); -IMPLEMENT_OBJ_BSEARCH_CMP_FN(const nid_triple, const nid_triple, cmp_sig) +DECLARE_OBJ_BSEARCH_CMP_FN(nid_triple, nid_triple, cmp_sig); +IMPLEMENT_OBJ_BSEARCH_CMP_FN(nid_triple, nid_triple, cmp_sig); static int cmp_sig_sk(const nid_triple * const *a, const nid_triple * const *b) { @@ -86,7 +86,7 @@ static int cmp_sigx(const nid_triple * const *a, const nid_triple * const *b) return (*a)->pkey_id - (*b)->pkey_id; } -IMPLEMENT_OBJ_BSEARCH_CMP_FN(const nid_triple *, const nid_triple *, cmp_sigx) +IMPLEMENT_OBJ_BSEARCH_CMP_FN(const nid_triple *, const nid_triple *, cmp_sigx); int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid) { @@ -120,7 +120,7 @@ int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid) int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid) { nid_triple tmp; - const nid_triple const *t=&tmp; + const nid_triple *t=&tmp; const nid_triple **rv = NULL; tmp.hash_id = dig_nid; |