Skip to content

Commit

Permalink
Catch system libressl in openssl audit as well
Browse files Browse the repository at this point in the history
The regex didn't match libcrypto.35.dylib, and it should have.
  • Loading branch information
tdsmith committed Sep 4, 2016
1 parent 9fd97dd commit bf18808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def check_openssl_links
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?

Expand Down

0 comments on commit bf18808

Please sign in to comment.