aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTim D. Smith2016-09-03 22:13:04 -0700
committerTim D. Smith2016-09-03 22:13:09 -0700
commitbf18808930285e250fa2b8b24f37b077f0c00b45 (patch)
tree35efe553406e67b1539dbf0b8c47cea7a46bf8e7 /Library
parent9fd97dd3cf26b6644a9f808945869b2af44db26e (diff)
downloadbrew-bf18808930285e250fa2b8b24f37b077f0c00b45.tar.bz2
Catch system libressl in openssl audit as well
The regex didn't match libcrypto.35.dylib, and it should have.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/formula_cellar_checks.rb2
1 files changed, 1 insertions, 1 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..25452be06 100644
--- a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
+++ b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
@@ -29,7 +29,7 @@ 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)\..*dylib}.match dll }
end
return if system_openssl.empty?