Skip to content

Commit 0216798

Browse files
jorgectftausbn
andauthored
Apply suggestions from code review
Co-authored-by: Taus <[email protected]>
1 parent 3ccac4e commit 0216798

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/ql/src/experimental/semmle/python/libraries/Python_JWT.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ private module Python_JWT {
3333

3434
override DataFlow::Node getPayload() { result = this.getArg(0) }
3535

36-
override DataFlow::Node getKey() { result = verifyCall().getArg(1) }
36+
override DataFlow::Node getKey() { result = this.verifyCall().getArg(1) }
3737

38-
override DataFlow::Node getAlgorithm() { result = verifyCall().getArg(2) }
38+
override DataFlow::Node getAlgorithm() { result = this.verifyCall().getArg(2) }
3939

4040
override string getAlgorithmString() {
4141
exists(StrConst str |
@@ -46,6 +46,6 @@ private module Python_JWT {
4646

4747
override DataFlow::Node getOptions() { none() }
4848

49-
override predicate verifiesSignature() { exists(verifyCall()) }
49+
override predicate verifiesSignature() { exists(this.verifyCall()) }
5050
}
5151
}

0 commit comments

Comments
 (0)