Skip to content

Commit

Permalink
crypto: handle initEDRaw pkey failure
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Oct 11, 2021
1 parent a284d1d commit 5c33b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/node-spec.js
Expand Up @@ -330,7 +330,7 @@ describe('node feature', () => {

expect(() => {
crypto.createPrivateKey({ key: ed448, format: 'jwk' });
}).to.throw(/Failed to create key - unsupported algorithm/);
}).to.throw(/Invalid JWK data/);
});
});

Expand Down

0 comments on commit 5c33b21

Please sign in to comment.