Skip to content

Commit 0d4ff2d

Browse files
authored
Merge pull request #1513 from aschackmull/java/whitelist-sha512
Java: Add SHA512 to the crypto whitelist.
2 parents 0bbc0d9 + 9364697 commit 0d4ff2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ string algorithmBlacklistRegex() {
120120
private string algorithmWhitelist() {
121121
result = "RSA" or
122122
result = "SHA256" or
123+
result = "SHA512" or
123124
result = "CCM" or
124125
result = "GCM" or
125126
result = "AES" or

0 commit comments

Comments
 (0)