X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fconf%2Fconf.c;h=7d8b89168a2d96bda83c2739f34d172f4e818163;hp=f98451e77d548c9f9241dcf68403079978d2ab5a;hb=10cea23bd46cb43fab1de5c59828ae67f80975c3;hpb=a6c1b3a9ac5db00809c679e27ed057f89d10bbde diff --git a/crypto/conf/conf.c b/crypto/conf/conf.c index f98451e77d..7d8b89168a 100644 --- a/crypto/conf/conf.c +++ b/crypto/conf/conf.c @@ -70,7 +70,7 @@ static void value_free_hash(CONF_VALUE *a, LHASH *conf); static void value_free_stack(CONF_VALUE *a,LHASH *conf); static unsigned long hash(CONF_VALUE *v); -static int cmp(CONF_VALUE *a,CONF_VALUE *b); +static int cmp_conf(CONF_VALUE *a,CONF_VALUE *b); static char *eat_ws(char *p); static char *eat_alpha_numeric(char *p); static void clear_comments(char *p); @@ -153,7 +153,7 @@ LHASH *CONF_load_bio(LHASH *h, BIO *in, long *line) if (h == NULL) { - if ((ret=lh_new(hash,cmp)) == NULL) + if ((ret=lh_new(hash,cmp_conf)) == NULL) { CONFerr(CONF_F_CONF_LOAD_BIO,ERR_R_MALLOC_FAILURE); goto err; @@ -653,7 +653,7 @@ static unsigned long hash(CONF_VALUE *v) return((lh_strhash(v->section)<<2)^lh_strhash(v->name)); } -static int cmp(CONF_VALUE *a, CONF_VALUE *b) +static int cmp_conf(CONF_VALUE *a, CONF_VALUE *b) { int i;