mirror of
https://github.com/rust-lang/cargo
synced 2024-09-15 22:09:55 +00:00
Don't test SSL errors on OSX
Due to libgit2 perhaps using different frameworks it's a little too onerous to test there. It's also pretty unlikely that libgit2 is configure to *not* have SSL on OSX by mistake.
This commit is contained in:
parent
20a0e30ec5
commit
febcab0e0a
|
@ -156,7 +156,10 @@ Caused by:
|
|||
errmsg = if cfg!(windows) {
|
||||
"[[..]] failed to send request: [..]\n"
|
||||
} else if cfg!(target_os = "macos") {
|
||||
"[[..]] unexpected return value from ssl handshake [..]"
|
||||
// OSX is difficult to tests as some builds may use
|
||||
// Security.framework and others may use OpenSSL. In that case let's
|
||||
// just not verify the error message here.
|
||||
"[..]"
|
||||
} else {
|
||||
"[[..]] SSL error: [..]"
|
||||
})));
|
||||
|
|
Loading…
Reference in a new issue