Skip to content

Commit a2ed96d

Browse files
committed
Fix self_signed_should_fail for macOS.
1 parent e2d1488 commit a2ed96d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/https.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fn self_signed_should_fail() {
3030
.build();
3131
// I think the text here depends on the curl backend.
3232
let err_msg = if cfg!(target_os = "macos") {
33-
"unexpected return value from ssl handshake -9806; class=Ssl (16)"
33+
"untrusted connection error; class=Ssl (16); code=Certificate (-17)"
3434
} else if cfg!(unix) {
3535
"the SSL certificate is invalid; class=Ssl (16); code=Certificate (-17)"
3636
} else if cfg!(windows) {

0 commit comments

Comments
 (0)