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.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/net/02_tls.js b/ext/net/02_tls.js
index 90f395193..86f651521 100644
--- a/ext/net/02_tls.js
+++ b/ext/net/02_tls.js
@@ -65,7 +65,9 @@
function listenTls({
port,
+ cert,
certFile,
+ key,
keyFile,
hostname = "0.0.0.0",
transport = "tcp",
@@ -73,7 +75,9 @@
}) {
const res = opListenTls({
port,
+ cert,
certFile,
+ key,
keyFile,
hostname,
transport,