1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-13 05:43:53 -05:00

Merge pull request #1025 from jamieconnolly/fix-missing-openssl-lib

Ignore LibreSSL bundled with macOS 10.13
This commit is contained in:
Yamashita, Yuu
2017-10-31 09:38:37 +09:00
committed by GitHub

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
}