summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-10-20 15:12:00 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-10-20 15:12:00 +0000
commit606f6c477a0eff3573d26d172bc832add095c44e (patch)
tree77fad8ebb127dac8c960ca2add5492adf1ed4f9e /crypto/x509
parent1581f822439eb6c2aa94565bcbd76430912b40f3 (diff)
Fix a shed load or warnings:
Duplicate const. Use of ; outside function.
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509_vpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/x509_vpm.c b/crypto/x509/x509_vpm.c
index 9c37c4ded3..5c018e9832 100644
--- a/crypto/x509/x509_vpm.c
+++ b/crypto/x509/x509_vpm.c
@@ -362,9 +362,9 @@ static int table_cmp(const X509_VERIFY_PARAM *a, const X509_VERIFY_PARAM *b)
return strcmp(a->name, b->name);
}
-DECLARE_OBJ_BSEARCH_CMP_FN(const X509_VERIFY_PARAM, const X509_VERIFY_PARAM,
+DECLARE_OBJ_BSEARCH_CMP_FN(X509_VERIFY_PARAM, X509_VERIFY_PARAM,
table_cmp);
-IMPLEMENT_OBJ_BSEARCH_CMP_FN(const X509_VERIFY_PARAM, const X509_VERIFY_PARAM,
+IMPLEMENT_OBJ_BSEARCH_CMP_FN(X509_VERIFY_PARAM, X509_VERIFY_PARAM,
table_cmp);
static int param_cmp(const X509_VERIFY_PARAM * const *a,