Skip to content

Commit 345e4e0

Browse files
Jami CogswellJami Cogswell
authored andcommitted
remove unnecessary 'exists'
1 parent b7f3606 commit 345e4e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/src/Security/CWE/CWE-326/InsufficientKeySize.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import java
1515
import semmle.code.java.security.InsufficientKeySizeQuery
1616
import DataFlow::PathGraph
1717

18-
from DataFlow::PathNode source, DataFlow::PathNode sink
19-
where exists(KeySizeConfiguration cfg | cfg.hasFlowPath(source, sink))
18+
from DataFlow::PathNode source, DataFlow::PathNode sink, KeySizeConfiguration cfg
19+
where cfg.hasFlowPath(source, sink)
2020
select sink.getNode(), source, sink,
2121
"This $@ is less than the recommended key size of " + source.getState() + " bits.",
2222
source.getNode(), "key size"

0 commit comments

Comments
 (0)