Skip to content

Commit

Permalink
jwt_grant: Convert to same functions as header
Browse files Browse the repository at this point in the history
- Consolidated adder, getter and deleter functions
- Remove use of get_*_js and similar functions
- Reworked tests

Signed-off-by: Ben Collins <[email protected]>
  • Loading branch information
benmcollins committed Jan 8, 2025
1 parent 64edb16 commit 626776e
Show file tree
Hide file tree
Showing 16 changed files with 729 additions and 635 deletions.
2 changes: 1 addition & 1 deletion examples/main-gen.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ int main(int argc, char *argv[])
char *out = jwt_encode_str(jwt);
printf("%s\n", out);

jwt_free_str(out);
free(out);

finish:
return 0;
Expand Down
Loading

0 comments on commit 626776e

Please sign in to comment.