Skip to content

Commit 2d87489

Browse files
committed
change useSsl() to usesSsl()
1 parent 345f43f commit 2d87489

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ruby/ql/lib/codeql/ruby/Concepts.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ class LdapBind extends DataFlow::Node instanceof LdapBind::Range {
12201220
}
12211221

12221222
/** Holds if the binding process use SSL. */
1223-
predicate useSsl() { super.useSsl() }
1223+
predicate usesSsl() { super.usesSsl() }
12241224
}
12251225

12261226
/** Provides classes for modeling LDAP bind-related APIs. */
@@ -1239,6 +1239,6 @@ module LdapBind {
12391239
abstract DataFlow::Node getPassword();
12401240

12411241
/** Holds if the binding process use SSL. */
1242-
abstract predicate useSsl();
1242+
abstract predicate usesSsl();
12431243
}
12441244
}

ruby/ql/lib/codeql/ruby/frameworks/Ldap.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module NetLdap {
3131
private class NetLdapConnection extends DataFlow::CallNode {
3232
NetLdapConnection() { this in [ldap().getAnInstantiation(), ldap().getAMethodCall(["open"])] }
3333

34-
predicate useSsl() {
34+
predicate usesSsl() {
3535
this.getKeywordArgument("encryption").getConstantValue().isStringlikeValue("simple_tls")
3636
or
3737
this.getAMethodCall("encryption")
@@ -84,6 +84,6 @@ module NetLdap {
8484
result = l.getAMethodCall("auth").getArgument(1)
8585
}
8686

87-
override predicate useSsl() { l.useSsl() }
87+
override predicate usesSsl() { l.usesSsl() }
8888
}
8989
}

0 commit comments

Comments
 (0)