File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
python/ql/src/semmle/python/frameworks Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ private module Rsa {
71
71
// hashing part
72
72
exists ( StrConst str , DataFlow:: Node hashNameArg |
73
73
hashNameArg in [ this .getArg ( 2 ) , this .getArgByName ( "hash_method" ) ] and
74
- DataFlow:: exprNode ( str ) . ( DataFlow :: LocalSourceNode ) . flowsTo ( hashNameArg ) and
74
+ DataFlow:: exprNode ( str ) = hashNameArg . getALocalSource ( ) and
75
75
result .matchesName ( str .getText ( ) )
76
76
)
77
77
}
@@ -114,7 +114,7 @@ private module Rsa {
114
114
override Cryptography:: CryptographicAlgorithm getAlgorithm ( ) {
115
115
exists ( StrConst str , DataFlow:: Node hashNameArg |
116
116
hashNameArg in [ this .getArg ( 1 ) , this .getArgByName ( "method_name" ) ] and
117
- DataFlow:: exprNode ( str ) . ( DataFlow :: LocalSourceNode ) . flowsTo ( hashNameArg ) and
117
+ DataFlow:: exprNode ( str ) = hashNameArg . getALocalSource ( ) and
118
118
result .matchesName ( str .getText ( ) )
119
119
)
120
120
}
You can’t perform that action at this time.
0 commit comments