commit | 726635018109eda90490a03660a6f244a0c5682e | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Wed Nov 03 12:23:54 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Nov 03 17:19:48 2021 +0100 |
tree | c42bb57dcaac89f7487ddded83beb4d39db509aa | |
parent | f8642ee826640bf85e51641cd3a47da7b90e174f [diff] |
BUG/MINOR: jwt: Fix jwt_parse_alg incorrectly returning JWS_ALG_NONE jwt_parse_alg would mistakenly return JWT_ALG_NONE for algorithms "", "n", "no" and "non" because of a strncmp misuse. It now sees them as unknown algorithms. No backport needed. Cc: Tim Duesterhus <tim@bastelstu.be>