summaryrefslogtreecommitdiff
path: root/ext/net/02_tls.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/net/02_tls.js')
-rw-r--r--ext/net/02_tls.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/net/02_tls.js b/ext/net/02_tls.js
index 86f651521..04b25caf9 100644
--- a/ext/net/02_tls.js
+++ b/ext/net/02_tls.js
@@ -3,6 +3,7 @@
((window) => {
const core = window.Deno.core;
+ const ops = core.ops;
const { Listener, Conn } = window.__bootstrap.net;
function opConnectTls(
@@ -16,7 +17,7 @@
}
function opListenTls(args) {
- return core.opSync("op_tls_listen", args);
+ return ops.op_tls_listen(args);
}
function opStartTls(args) {