]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: jwt: fix variable initialisation
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 8 Jul 2024 12:23:14 +0000 (14:23 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 8 Jul 2024 12:23:14 +0000 (14:23 +0200)
commit0a1b251c1a2ac55e135db0f5ac3d241e218308b4
treef5f1d39c772f10c5fab51a81be71c2590ed36f11
parent16a5fac4bba1cb2bb6cf686066256aa141515feb
BUG/MINOR: jwt: fix variable initialisation

Set the alg variable from sample_conv_jwt_verify_check() to
JWT_ALG_DEFAULT.

This was reported by coverity in #2630, but since you need to use the
first argument to use the 2nd, this has no real impact.

Mut be backported with 883f1bd (as far as 2.6).
src/sample.c