From a2ed96df6ab6bee824aa5669bb744b7815408ec7 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sat, 6 May 2023 12:41:34 -0700 Subject: [PATCH] Fix self_signed_should_fail for macOS. --- tests/testsuite/https.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsuite/https.rs b/tests/testsuite/https.rs index 501eeae0558..c7aec911105 100644 --- a/tests/testsuite/https.rs +++ b/tests/testsuite/https.rs @@ -30,7 +30,7 @@ fn self_signed_should_fail() { .build(); // I think the text here depends on the curl backend. let err_msg = if cfg!(target_os = "macos") { - "unexpected return value from ssl handshake -9806; class=Ssl (16)" + "untrusted connection error; class=Ssl (16); code=Certificate (-17)" } else if cfg!(unix) { "the SSL certificate is invalid; class=Ssl (16); code=Certificate (-17)" } else if cfg!(windows) {