mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
12 lines
361 B
Plaintext
12 lines
361 B
Plaintext
import ruby
|
|
import codeql.ruby.security.OpenSSL
|
|
|
|
query predicate weakOpenSSLCipherAlgorithms(OpenSSLCipher c) { c.isWeak() }
|
|
|
|
query predicate strongOpenSSLCipherAlgorithms(OpenSSLCipher c) { not c.isWeak() }
|
|
|
|
query predicate missingOpenSSLCipherAlgorithms(string name) {
|
|
Ciphers::isOpenSSLCipher(name) and
|
|
not exists(OpenSSLCipher c | c.getName() = name)
|
|
}
|