C++: Real world diffs suggest that 'Cipher' should be an encryption word as well.

This commit is contained in:
Geoffrey White
2021-05-17 15:36:27 +01:00
parent 9e75f53798
commit 57354def9e

View File

@@ -68,7 +68,7 @@ predicate isInsecureEncryption(string name) {
*/
bindingset[name]
predicate isEncryptionAdditionalEvidence(string name) {
name.toUpperCase().matches("%" + ["CRYPT", "CODE", "CODING", "CBC", "KEY"] + "%")
name.toUpperCase().matches("%" + ["CRYPT", "CODE", "CODING", "CBC", "KEY", "CIPHER"] + "%")
}
/**