From bf18808930285e250fa2b8b24f37b077f0c00b45 Mon Sep 17 00:00:00 2001 From: "Tim D. Smith" Date: Sat, 3 Sep 2016 22:13:04 -0700 Subject: [PATCH] Catch system libressl in openssl audit as well The regex didn't match libcrypto.35.dylib, and it should have. --- Library/Homebrew/extend/os/mac/formula_cellar_checks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb index 16b4d799f4..25452be069 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?