From: Nick Porter Date: Wed, 2 Oct 2024 11:07:00 +0000 (+0100) Subject: fr_md5_update expects uint8_t * X-Git-Tag: release_3_2_7~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de4e64a803000769b9378c09568c87ef7005b71c;p=thirdparty%2Ffreeradius-server.git fr_md5_update expects uint8_t * --- diff --git a/src/main/conffile.c b/src/main/conffile.c index 92dc4b64939..75bb5d616e1 100644 --- a/src/main/conffile.c +++ b/src/main/conffile.c @@ -1504,7 +1504,7 @@ int cf_item_parse(CONF_SECTION *cs, char const *name, unsigned int type, void *d next->item.lineno, name); } } - + if (multi) { while ((next = cf_pair_find_next(cs, next, name)) != NULL) { /* @@ -2348,7 +2348,7 @@ static void cf_md5_update(char const *p) { if (!cf_md5_initted) return; - fr_md5_update(&conf_context, p, strlen(p)); + fr_md5_update(&conf_context, (uint8_t const *)p, strlen(p)); } void cf_md5_final(uint8_t *digest)