diff options
author | Luca Casonato <hello@lcas.dev> | 2024-08-08 11:35:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-08 15:05:29 +0530 |
commit | 93d479252b5a18e6e782c74b808240bd3ef036bd (patch) | |
tree | 4c8b83797fb0e30d1ce3fcebad3fbde6cf33ef1d /ext/node/polyfills/internal/crypto/keys.ts | |
parent | 507e5b74ff21161ba8bd947d7d9cee317c0af379 (diff) |
fix(ext/node): add crypto.diffieHellman (#24938)
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Closes #21806
Diffstat (limited to 'ext/node/polyfills/internal/crypto/keys.ts')
-rw-r--r-- | ext/node/polyfills/internal/crypto/keys.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/internal/crypto/keys.ts b/ext/node/polyfills/internal/crypto/keys.ts index 31d674e67..62cec47d6 100644 --- a/ext/node/polyfills/internal/crypto/keys.ts +++ b/ext/node/polyfills/internal/crypto/keys.ts @@ -232,7 +232,7 @@ export interface JsonWebKeyInput { format: "jwk"; } -function getKeyObjectHandle(key: KeyObject, ctx: KeyHandleContext) { +export function getKeyObjectHandle(key: KeyObject, ctx: KeyHandleContext) { if (ctx === kCreatePrivate) { throw new ERR_INVALID_ARG_TYPE( "key", |