Skip to content

Commit

Permalink
Fix self_signed_should_fail for macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed May 6, 2023
1 parent e2d1488 commit a2ed96d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testsuite/https.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a2ed96d

Please sign in to comment.