Skip to content

Commit

Permalink
chore: cleanup dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Jan 25, 2024
1 parent 5886b0c commit 7986346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/keystore.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function getAlgorithms(use, alg, kty, crv) {
switch (crv) {
case 'P-256':
case 'P-384':
algs = algs.concat([`ES${crv.slice(-3)}`.replace('21', '12')]);
algs = algs.concat([`ES${crv.slice(-3)}`]);
break;
case 'P-521':
algs = algs.concat(['ES512']);
Expand Down

0 comments on commit 7986346

Please sign in to comment.