Skip to content

Commit 4aa53b6

Browse files
geoffw0hvitved
andauthored
Update rust/ql/lib/codeql/rust/security/HardcodedCryptographicValueExtensions.qll
Co-authored-by: Tom Hvitved <hvitved@github.com>
1 parent 351d495 commit 4aa53b6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rust/ql/lib/codeql/rust/security/HardcodedCryptographicValueExtensions.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ module HardcodedCryptographicValue {
170170
this.asExpr() instanceof BinaryBitwiseOperation
171171
or
172172
// compound assignments (e.g. `a += b`, `a ^= b`)
173-
this.asExpr() = any(AssignArithmeticOperation a | | a.getAnOperand())
173+
this.asExpr() = any(AssignArithmeticOperation a).getAnOperand()
174174
or
175-
this.asExpr() = any(AssignBitwiseOperation a | | a.getAnOperand())
175+
this.asExpr() = any(AssignBitwiseOperation a).getAnOperand()
176176
}
177177
}
178178
}

0 commit comments

Comments
 (0)