Skip to content

Commit ff8032a

Browse files
committed
Rust: Fix after merge.
1 parent eb674d0 commit ff8032a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/src/queries/security/CWE-295/DisabledCertificateCheck.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module DisabledCertificateCheckConfig implements DataFlow::ConfigSig {
2525

2626
predicate isSource(DataFlow::Node node) {
2727
// the constant `true`
28-
node.asExpr().getExpr().(BooleanLiteralExpr).getTextValue() = "true"
28+
node.asExpr().(BooleanLiteralExpr).getTextValue() = "true"
2929
or
3030
// a value controlled by a potential attacker
3131
node instanceof ActiveThreatModelSource

0 commit comments

Comments
 (0)