summaryrefslogtreecommitdiff
path: root/cli/tests/unit/tls_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-05-17 02:19:23 +0200
committerGitHub <noreply@github.com>2023-05-17 02:19:23 +0200
commitcb87cb0283fbe95ace2317b0617e7e74382bf4db (patch)
treeb75c51f15680cfb1f3d6f17cd44e485ec2b58e4f /cli/tests/unit/tls_test.ts
parent867a6d303285cdffd060e6bb4b0e97de73925cfe (diff)
fix: support "fetch" over HTTPS for IP addresses (#18499)
This commit adds support for connecting to IP addresses over HTTPS. This is done by updating "rustls" to "0.21.0" and other related crates. Closes https://github.com/denoland/deno/issues/7660 Closes https://github.com/denoland/deno/issues/17967 --------- Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Diffstat (limited to 'cli/tests/unit/tls_test.ts')
-rw-r--r--cli/tests/unit/tls_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/tls_test.ts b/cli/tests/unit/tls_test.ts
index b7cde1020..c8dd7ddbe 100644
--- a/cli/tests/unit/tls_test.ts
+++ b/cli/tests/unit/tls_test.ts
@@ -1337,7 +1337,7 @@ Deno.test(
await assertRejects(
() => conn.handshake(),
Deno.errors.InvalidData,
- "BadCertificate",
+ "received fatal alert",
);
}
conn.close();
@@ -1368,7 +1368,7 @@ Deno.test(
await assertRejects(
() => tlsConn.handshake(),
Deno.errors.InvalidData,
- "CertNotValidForName",
+ "NotValidForName",
);
tlsConn.close();
}