Catch system libressl in openssl audit as well
The regex didn't match libcrypto.35.dylib, and it should have.
This commit is contained in:
parent
9fd97dd3cf
commit
bf18808930
@ -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?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user