mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-05 06:42:33 -04:00
Revert "BUG/MINOR: jwt: Missing 'jwt_tokenize' return value check"
This reverts commit 5e14904fef.
The patch is broken, a better implementation is needed.
This commit is contained in:
parent
1cbd1163f0
commit
1babe8cb1b
1 changed files with 1 additions and 2 deletions
|
|
@ -4795,8 +4795,7 @@ static int sample_conv_jwt_member_query(const struct arg *args, struct sample *s
|
|||
int retval = 0;
|
||||
int ret;
|
||||
|
||||
if (jwt_tokenize(&smp->data.u.str, items, &item_num))
|
||||
goto end;
|
||||
jwt_tokenize(&smp->data.u.str, items, &item_num);
|
||||
|
||||
if (item_num < member + 1)
|
||||
goto end;
|
||||
|
|
|
|||
Loading…
Reference in a new issue