summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli/tests/node_compat/config.json2
-rw-r--r--ext/node/polyfills/crypto.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/node_compat/config.json b/cli/tests/node_compat/config.json
index 85e5f09c5..0f54aec95 100644
--- a/cli/tests/node_compat/config.json
+++ b/cli/tests/node_compat/config.json
@@ -749,7 +749,7 @@
"TODO:test-util-types.js",
"test-util.js",
"test-vm-static-this.js",
- "TODO:test-webcrypto-sign-verify.js",
+ "test-webcrypto-sign-verify.js",
"test-whatwg-encoding-custom-api-basics.js",
"test-whatwg-encoding-custom-fatal-streaming.js",
"test-whatwg-encoding-custom-textdecoder-fatal.js",
diff --git a/ext/node/polyfills/crypto.ts b/ext/node/polyfills/crypto.ts
index b59158456..8c179e916 100644
--- a/ext/node/polyfills/crypto.ts
+++ b/ext/node/polyfills/crypto.ts
@@ -166,8 +166,8 @@ import type {
TransformOptions,
WritableOptions,
} from "internal:deno_node/polyfills/_stream.d.ts";
+import { crypto as webcrypto } from "internal:deno_crypto/00_crypto.js";
-const webcrypto = globalThis.crypto;
const fipsForced = getOptionValue("--force-fips");
function createCipheriv(