Skip to content

Commit deefbef

Browse files
committed
Python: Minor refactor to use CallCfgNode
1 parent 1f5e52e commit deefbef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/semmle/python/frameworks/Cryptography.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private module CryptographyModel {
8080
DataFlow::TypeTracker t, int keySize, DataFlow::Node origin
8181
) {
8282
t.start() and
83-
result.asCfgNode().(CallNode).getFunction() = curveClassWithKeySize(keySize).asCfgNode() and
83+
result.(DataFlow::CallCfgNode).getFunction() = curveClassWithKeySize(keySize) and
8484
origin = result
8585
or
8686
// Due to bad performance when using normal setup with we have inlined that code and forced a join

0 commit comments

Comments
 (0)