diff options
| author | Tim D. Smith | 2016-09-03 22:13:04 -0700 |
|---|---|---|
| committer | Tim D. Smith | 2016-09-03 22:13:09 -0700 |
| commit | bf18808930285e250fa2b8b24f37b077f0c00b45 (patch) | |
| tree | 35efe553406e67b1539dbf0b8c47cea7a46bf8e7 /Library | |
| parent | 9fd97dd3cf26b6644a9f808945869b2af44db26e (diff) | |
| download | brew-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.rb | 2 |
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? |
