Skip to content

Commit 4016299

Browse files
MathiasVPgeoffw0
andauthored
Update cpp/ql/lib/semmle/code/cpp/security/Encryption.qll
Co-authored-by: Geoffrey White <[email protected]>
1 parent 1c9a526 commit 4016299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/security/Encryption.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ predicate isInsecureEncryption(string name) { name.regexpMatch(getInsecureAlgori
6464
*/
6565
bindingset[name]
6666
predicate isEncryptionAdditionalEvidence(string name) {
67-
name.regexpMatch("(?i).*" + ["crypt", "code", "coding", "cbc", "key", "cipher", "mac"] + ".*")
67+
name.regexpMatch("(?i).*(crypt|code|coding|cbc|key|cipher|mac).*")
6868
}
6969

7070
/**

0 commit comments

Comments
 (0)