Ignore LibreSSL bundled with macOS 10.13

This commit is contained in:
Jamie Connolly 2017-10-30 16:47:53 +00:00
parent 9d7a011f6e
commit eb70ee3e73
No known key found for this signature in database
GPG key ID: A202E5A39CEBDE66

View file

@ -1385,8 +1385,9 @@ use_homebrew_readline() {
}
has_broken_mac_openssl() {
is_mac &&
[[ "$(/usr/bin/openssl version 2>/dev/null || true)" = "OpenSSL 0.9.8"?* ]] &&
is_mac || return 1
local openssl_version="$(/usr/bin/openssl version 2>/dev/null || true)"
[[ $openssl_version = "OpenSSL 0.9.8"?* || $openssl_version = "LibreSSL"* ]] &&
! use_homebrew_openssl
}