Skip to content

Commit bbe9536

Browse files
committed
C++: Simplify SslContextCallMake
1 parent 9997326 commit bbe9536

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

cpp/ql/lib/semmle/code/cpp/security/boostorg/asio/protocols.qll

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -396,14 +396,10 @@ module BoostorgAsio {
396396
*/
397397
module SslContextCallMake<SslContextCallConfigSig Config> {
398398
private module C implements DataFlow::ConfigSig {
399-
predicate isSource = Config::isSource/1;
400-
401-
predicate isSink = Config::isSink/1;
399+
import Config
402400
}
403401

404-
module F = DataFlow::Make<C>;
405-
406-
import F
402+
import DataFlow::Make<C>
407403
}
408404

409405
/**

0 commit comments

Comments
 (0)