diff --git a/Library/Homebrew/rubocops/text.rb b/Library/Homebrew/rubocops/text.rb index fd04f48d5e..8d40777379 100644 --- a/Library/Homebrew/rubocops/text.rb +++ b/Library/Homebrew/rubocops/text.rb @@ -12,7 +12,7 @@ module RuboCop problem "Please set plist_options when using a formula-defined plist." end - if depends_on?("openssl") && depends_on?("libressl") + if (depends_on?("openssl") || depends_on?("openssl@1.1")) && depends_on?("libressl") problem "Formulae should not depend on both OpenSSL and LibreSSL (even optionally)." end