summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal/crypto/x509.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/internal/crypto/x509.ts')
-rw-r--r--ext/node/polyfills/internal/crypto/x509.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/node/polyfills/internal/crypto/x509.ts b/ext/node/polyfills/internal/crypto/x509.ts
index 380deefc3..50a7ab48d 100644
--- a/ext/node/polyfills/internal/crypto/x509.ts
+++ b/ext/node/polyfills/internal/crypto/x509.ts
@@ -4,8 +4,7 @@
// TODO(petamoriken): enable prefer-primordials for node polyfills
// deno-lint-ignore-file prefer-primordials
-import { core } from "ext:core/mod.js";
-const {
+import {
op_node_x509_ca,
op_node_x509_check_email,
op_node_x509_fingerprint,
@@ -18,7 +17,7 @@ const {
op_node_x509_get_valid_to,
op_node_x509_key_usage,
op_node_x509_parse,
-} = core.ensureFastOps();
+} from "ext:core/ops";
import { KeyObject } from "ext:deno_node/internal/crypto/keys.ts";
import { Buffer } from "node:buffer";