From 88dc0861ac0f3f5dbe15df07fa6010650032ecce Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Tue, 18 May 2021 14:18:59 +0100 Subject: [PATCH] C++: Fix copy-paste error. --- cpp/ql/src/Security/CWE/CWE-327/BrokenCryptoAlgorithm.ql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/ql/src/Security/CWE/CWE-327/BrokenCryptoAlgorithm.ql b/cpp/ql/src/Security/CWE/CWE-327/BrokenCryptoAlgorithm.ql index 7abb71c5a6c..9869aca2d70 100644 --- a/cpp/ql/src/Security/CWE/CWE-327/BrokenCryptoAlgorithm.ql +++ b/cpp/ql/src/Security/CWE/CWE-327/BrokenCryptoAlgorithm.ql @@ -32,7 +32,7 @@ Function getAdditionalEvidenceFunction() { ( isEncryptionAdditionalEvidence(result.getName()) or isEncryptionAdditionalEvidence(result.getAParameter().getName()) or - isInsecureEncryption(result.getDeclaringType().getName()) + isEncryptionAdditionalEvidence(result.getDeclaringType().getName()) ) and exists(result.getACallToThisFunction()) }