summaryrefslogtreecommitdiff
path: root/ext/net/ops_tls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/net/ops_tls.rs')
-rw-r--r--ext/net/ops_tls.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/net/ops_tls.rs b/ext/net/ops_tls.rs
index fe0e70a5c..26ec48fba 100644
--- a/ext/net/ops_tls.rs
+++ b/ext/net/ops_tls.rs
@@ -47,6 +47,7 @@ use deno_tls::rustls::PrivateKey;
use deno_tls::rustls::ServerConfig;
use deno_tls::rustls::ServerConnection;
use deno_tls::rustls::ServerName;
+use deno_tls::SocketUse;
use io::Error;
use io::Read;
use io::Write;
@@ -839,6 +840,7 @@ where
ca_certs,
unsafely_ignore_certificate_errors,
None,
+ SocketUse::GeneralSsl,
)?;
if let Some(alpn_protocols) = args.alpn_protocols {
@@ -938,6 +940,7 @@ where
ca_certs,
unsafely_ignore_certificate_errors,
cert_chain_and_key,
+ SocketUse::GeneralSsl,
)?;
if let Some(alpn_protocols) = args.alpn_protocols {