aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTim D. Smith2016-09-05 14:25:51 -0700
committerGitHub2016-09-05 14:25:51 -0700
commit7303a55cc05783e3698091b6f3179cec3b5efcf2 (patch)
treebaf49ad7c6e16cce544386a994a9278d2ed0568c /Library
parent7820489831b049a2fc6fd4ef0c5964e63e78f778 (diff)
parenta4b4b9cd9056190c17ffbfcf007a30dfdca2b0e6 (diff)
downloadbrew-7303a55cc05783e3698091b6f3179cec3b5efcf2.tar.bz2
Merge pull request #866 from tdsmith/audit-libressl
Catch system libressl in openssl audit as well
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/formula_cellar_checks.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
index 16b4d799f..b3f8250ee 100644
--- a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
+++ b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
@@ -29,13 +29,14 @@ module FormulaCellarChecks
keg = Keg.new(formula.prefix)
system_openssl = keg.mach_o_files.select do |obj|
dlls = obj.dynamically_linked_libraries
- dlls.any? { |dll| %r{/usr/lib/lib(crypto|ssl)\.(\d\.)*dylib}.match dll }
+ dlls.any? { |dll| %r{/usr/lib/lib(crypto|ssl|tls)\..*dylib}.match dll }
end
return if system_openssl.empty?
<<-EOS.undent
object files were linked against system openssl
- These object files were linked against the deprecated system OpenSSL.
+ These object files were linked against the deprecated system OpenSSL or
+ the system's private LibreSSL.
Adding `depends_on "openssl"` to the formula may help.
#{system_openssl * "\n "}
EOS