]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
lower FR_DER_TAG_MAX
authorAlan T. DeKok <aland@freeradius.org>
Sun, 16 Feb 2025 20:54:53 +0000 (15:54 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 16 Feb 2025 20:54:53 +0000 (15:54 -0500)
commite565fe9e3b53b76a232a365e233239945eeb94fa
treeca94fca505f083312d82d5fd1597a56caa2435d9
parentda6dc0f01e659f91ff1497cf408995921fc5c106
lower FR_DER_TAG_MAX

there's no reason to make it UINT8_MAX, as we only support a
small number of tags.

Also update the arrays to use

array[FR_DER_TAG_MAX] = { ... }

instead of

array[] = { ..., [TAG_MAX] = false }
src/protocols/der/base.c
src/protocols/der/decode.c
src/protocols/der/der.h