commit | 8abed17a347f50d5bdb437e90530cb3be4020c7d | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Mon Oct 18 15:14:48 2021 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Mon Oct 18 16:02:31 2021 +0200 |
tree | a2dfbdf1ba6cc0cb76c319bf38ece29fcaeb220e | |
parent | 1c891bcc90346aa84f8b16bc6fe00fa6c104a4cb [diff] |
MINOR: jwt: Do not rely on enum order anymore Replace the test based on the enum value of the algorithm by an explicit switch statement in case someone reorders it for some reason (while still managing not to break the regtest).