Skip to content

Commit 09d00b1

Browse files
committed
C++: Acknowledge another not detected result in tests.
1 parent 930b9fe commit 09d00b1

File tree

1 file changed

+2
-2
lines changed
  • cpp/ql/test/query-tests/Security/CWE/CWE-327

1 file changed

+2
-2
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-327/test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ void test_functions(void *data, size_t amount, const char *str)
9191
encrypt3DES(data, amount); // BAD
9292
encryptTripleDES(data, amount); // BAD
9393

94-
DESEncrypt(data, amount); // BAD
95-
RC2Encrypt(data, amount); // BAD
94+
DESEncrypt(data, amount); // BAD [NOT DETECTED]
95+
RC2Encrypt(data, amount); // BAD [NOT DETECTED]
9696
AESEncrypt(data, amount); // GOOD (good algorithm)
9797
DES3Encrypt(data, amount); // BAD [NOT DETECTED]
9898

0 commit comments

Comments
 (0)