mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #1025 from jamieconnolly/fix-missing-openssl-lib
Ignore LibreSSL bundled with macOS 10.13
This commit is contained in:
commit
8d5ffcd082
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue