summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/node/polyfills/crypto.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/node/polyfills/crypto.ts b/ext/node/polyfills/crypto.ts
index db2e5c243..908d21b00 100644
--- a/ext/node/polyfills/crypto.ts
+++ b/ext/node/polyfills/crypto.ts
@@ -162,6 +162,7 @@ import type {
} from "ext:deno_node/_stream.d.ts";
import { crypto as webcrypto } from "ext:deno_crypto/00_crypto.js";
+const subtle = webcrypto.subtle;
const fipsForced = getOptionValue("--force-fips");
function getRandomValues(typedArray) {
@@ -377,6 +378,7 @@ export default {
Verify,
verify,
webcrypto,
+ subtle,
X509Certificate,
};
@@ -511,6 +513,7 @@ export {
setFips,
Sign,
sign,
+ subtle,
timingSafeEqual,
Verify,
verify,