Skip to content

Commit 57354de

Browse files
committed
C++: Real world diffs suggest that 'Cipher' should be an encryption word as well.
1 parent 9e75f53 commit 57354de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ predicate isInsecureEncryption(string name) {
6868
*/
6969
bindingset[name]
7070
predicate isEncryptionAdditionalEvidence(string name) {
71-
name.toUpperCase().matches("%" + ["CRYPT", "CODE", "CODING", "CBC", "KEY"] + "%")
71+
name.toUpperCase().matches("%" + ["CRYPT", "CODE", "CODING", "CBC", "KEY", "CIPHER"] + "%")
7272
}
7373

7474
/**

0 commit comments

Comments
 (0)