We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27a40fb commit df0da98Copy full SHA for df0da98
ruby/ql/lib/codeql/ruby/security/OpenSSL.qll
@@ -245,9 +245,10 @@ module Ciphers {
245
string getCanonicalCipherName(string name) {
246
isOpenSSLCipher(name) and
247
(
248
- if exists(string special | special = getSpecialCanonicalCipherName(name))
249
- then result = getSpecialCanonicalCipherName(name)
250
- else result = name.toUpperCase()
+ result = getSpecialCanonicalCipherName(name)
+ or
+ not exists(getSpecialCanonicalCipherName(name)) and
251
+ result = name.toUpperCase()
252
)
253
}
254
0 commit comments