mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Update ruby/ql/lib/codeql/ruby/security/OpenSSL.qll
Co-authored-by: Nick Rolfe <nickrolfe@github.com>
This commit is contained in:
@@ -245,9 +245,10 @@ module Ciphers {
|
||||
string getCanonicalCipherName(string name) {
|
||||
isOpenSSLCipher(name) and
|
||||
(
|
||||
if exists(string special | special = getSpecialCanonicalCipherName(name))
|
||||
then result = getSpecialCanonicalCipherName(name)
|
||||
else result = name.toUpperCase()
|
||||
result = getSpecialCanonicalCipherName(name)
|
||||
or
|
||||
not exists(getSpecialCanonicalCipherName(name)) and
|
||||
result = name.toUpperCase()
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user