Skip to content

Commit

Permalink
jwk2key: Fix fallthrough on HS algs
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Collins <[email protected]>
  • Loading branch information
benmcollins committed Jan 13, 2025
1 parent d137d9f commit a670ab5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/jwk2key.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ static void write_key_file(const jwk_item_t *item)
pre = "oct";
sprintf(bits, "%d", jwks_item_key_bits(item));
name = bits;
break;
case JWK_KEY_TYPE_EC:
pre = "ec";
name = jwks_item_curve(item);
Expand Down

0 comments on commit a670ab5

Please sign in to comment.