Skip to content

Commit ba184a9

Browse files
committed
Broaden a test to cover MbedTLS 2.28.1010 that will ship with Julia 1.10.11
1 parent d17fb00 commit ba184a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/clntsrvr/clntsrvr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function testverify(certfile, keyfile, badcafile)
9898
try
9999
clntconn = sslconnect("127.0.0.1", port, badsslconfig)
100100
catch e
101-
@test contains(e.msg, "Certificate verification failed")
101+
@test contains(e.msg, "Certificate verification failed") || contains(e.msg, "SSL - Attempt to verify a certificate without an expected hostname. This is usually insecure.")
102102
end
103103
if @isdefined(clntconn)
104104
close(clntconn)

0 commit comments

Comments
 (0)