File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1220,7 +1220,7 @@ class LdapBind extends DataFlow::Node instanceof LdapBind::Range {
1220
1220
}
1221
1221
1222
1222
/** Holds if the binding process use SSL. */
1223
- predicate useSsl ( ) { super .useSsl ( ) }
1223
+ predicate usesSsl ( ) { super .usesSsl ( ) }
1224
1224
}
1225
1225
1226
1226
/** Provides classes for modeling LDAP bind-related APIs. */
@@ -1239,6 +1239,6 @@ module LdapBind {
1239
1239
abstract DataFlow:: Node getPassword ( ) ;
1240
1240
1241
1241
/** Holds if the binding process use SSL. */
1242
- abstract predicate useSsl ( ) ;
1242
+ abstract predicate usesSsl ( ) ;
1243
1243
}
1244
1244
}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module NetLdap {
31
31
private class NetLdapConnection extends DataFlow:: CallNode {
32
32
NetLdapConnection ( ) { this in [ ldap ( ) .getAnInstantiation ( ) , ldap ( ) .getAMethodCall ( [ "open" ] ) ] }
33
33
34
- predicate useSsl ( ) {
34
+ predicate usesSsl ( ) {
35
35
this .getKeywordArgument ( "encryption" ) .getConstantValue ( ) .isStringlikeValue ( "simple_tls" )
36
36
or
37
37
this .getAMethodCall ( "encryption" )
@@ -84,6 +84,6 @@ module NetLdap {
84
84
result = l .getAMethodCall ( "auth" ) .getArgument ( 1 )
85
85
}
86
86
87
- override predicate useSsl ( ) { l .useSsl ( ) }
87
+ override predicate usesSsl ( ) { l .usesSsl ( ) }
88
88
}
89
89
}
You can’t perform that action at this time.
0 commit comments