Skip to content

Commit 7986346

Browse files
committed
chore: cleanup dead code
1 parent 5886b0c commit 7986346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helpers/keystore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function getAlgorithms(use, alg, kty, crv) {
5252
switch (crv) {
5353
case 'P-256':
5454
case 'P-384':
55-
algs = algs.concat([`ES${crv.slice(-3)}`.replace('21', '12')]);
55+
algs = algs.concat([`ES${crv.slice(-3)}`]);
5656
break;
5757
case 'P-521':
5858
algs = algs.concat(['ES512']);

0 commit comments

Comments
 (0)