]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fr_md5_update expects uint8_t *
authorNick Porter <nick@portercomputing.co.uk>
Wed, 2 Oct 2024 11:07:00 +0000 (12:07 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 2 Oct 2024 11:07:00 +0000 (12:07 +0100)
src/main/conffile.c

index 92dc4b64939250df32eada4aaedcf18ca9808812..75bb5d616e1ea7b053e5951e1d55c23920c20400 100644 (file)
@@ -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)