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 {
7171 // hashing part
7272 exists ( StrConst str , DataFlow:: Node hashNameArg |
7373 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
7575 result .matchesName ( str .getText ( ) )
7676 )
7777 }
@@ -114,7 +114,7 @@ private module Rsa {
114114 override Cryptography:: CryptographicAlgorithm getAlgorithm ( ) {
115115 exists ( StrConst str , DataFlow:: Node hashNameArg |
116116 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
118118 result .matchesName ( str .getText ( ) )
119119 )
120120 }
You can’t perform that action at this time.
0 commit comments