1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-09 12:03:49 -05:00

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

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
}