Apply suggestions from code review

Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
Jorge
2022-02-22 20:55:51 +01:00
committed by GitHub
parent 3ccac4ed8a
commit 0216798cb9

View File

@@ -33,9 +33,9 @@ private module Python_JWT {
override DataFlow::Node getPayload() { result = this.getArg(0) }
override DataFlow::Node getKey() { result = verifyCall().getArg(1) }
override DataFlow::Node getKey() { result = this.verifyCall().getArg(1) }
override DataFlow::Node getAlgorithm() { result = verifyCall().getArg(2) }
override DataFlow::Node getAlgorithm() { result = this.verifyCall().getArg(2) }
override string getAlgorithmString() {
exists(StrConst str |
@@ -46,6 +46,6 @@ private module Python_JWT {
override DataFlow::Node getOptions() { none() }
override predicate verifiesSignature() { exists(verifyCall()) }
override predicate verifiesSignature() { exists(this.verifyCall()) }
}
}