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 13, 2021
1 parent 1698bf5 commit 9a27fc9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 50 deletions.
1 change: 0 additions & 1 deletion patches/node/.patches
Expand Up @@ -22,4 +22,3 @@ fix_account_for_debugger_agent_race_condition.patch
add_should_read_node_options_from_env_option_to_disable_node_options.patch
repl_fix_crash_when_sharedarraybuffer_disabled.patch
fix_readbarrier_undefined_symbol_error_on_woa_arm64.patch
fix_crash_creating_private_key_with_unsupported_algorithm.patch

This file was deleted.

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 9a27fc9

Please sign in to comment.