Skip to content

Commit 559f6a5

Browse files
authored
Merge pull request github#12652 from jketema/global-rename
C++: Rename `SslContextCallMake` to `SslContextCallGlobal`
2 parents c0eb611 + 8b53936 commit 559f6a5

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
category: deprecated
33
---
4-
* The `SslContextCallAbstractConfig`, `SslContextCallConfig`, `SslContextCallBannedProtocolConfig`, `SslContextCallTls12ProtocolConfig`, `SslContextCallTls13ProtocolConfig`, `SslContextCallTlsProtocolConfig`, `SslContextFlowsToSetOptionConfig`, `SslOptionConfig` dataflow configurations from `BoostorgAsio` have been deprecated. Please use `SslContextCallConfigSig`, `SslContextCallMake`, `SslContextCallFlow`, `SslContextCallBannedProtocolFlow`, `SslContextCallTls12ProtocolFlow`, `SslContextCallTls13ProtocolFlow`, `SslContextCallTlsProtocolFlow`, `SslContextFlowsToSetOptionFlow`.
4+
* The `SslContextCallAbstractConfig`, `SslContextCallConfig`, `SslContextCallBannedProtocolConfig`, `SslContextCallTls12ProtocolConfig`, `SslContextCallTls13ProtocolConfig`, `SslContextCallTlsProtocolConfig`, `SslContextFlowsToSetOptionConfig`, `SslOptionConfig` dataflow configurations from `BoostorgAsio` have been deprecated. Please use `SslContextCallConfigSig`, `SslContextCallGlobal`, `SslContextCallFlow`, `SslContextCallBannedProtocolFlow`, `SslContextCallTls12ProtocolFlow`, `SslContextCallTls13ProtocolFlow`, `SslContextCallTlsProtocolFlow`, `SslContextFlowsToSetOptionFlow`.

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ module BoostorgAsio {
394394
* Constructs a standard data flow computation for protocol values to the first argument
395395
* of a context constructor.
396396
*/
397-
module SslContextCallMake<SslContextCallConfigSig Config> {
397+
module SslContextCallGlobal<SslContextCallConfigSig Config> {
398398
private module C implements DataFlow::ConfigSig {
399399
import Config
400400
}
@@ -428,7 +428,7 @@ module BoostorgAsio {
428428
}
429429
}
430430

431-
module SslContextCallFlow = SslContextCallMake<SslContextCallConfig>;
431+
module SslContextCallFlow = SslContextCallGlobal<SslContextCallConfig>;
432432

433433
/**
434434
* A banned protocol value that flows to the first argument of a context constructor.
@@ -458,7 +458,8 @@ module BoostorgAsio {
458458
}
459459
}
460460

461-
module SslContextCallBannedProtocolFlow = SslContextCallMake<SslContextCallBannedProtocolConfig>;
461+
module SslContextCallBannedProtocolFlow =
462+
SslContextCallGlobal<SslContextCallBannedProtocolConfig>;
462463

463464
/**
464465
* A TLS 1.2 protocol value that flows to the first argument of a context constructor.
@@ -488,7 +489,7 @@ module BoostorgAsio {
488489
}
489490
}
490491

491-
module SslContextCallTls12ProtocolFlow = SslContextCallMake<SslContextCallTls12ProtocolConfig>;
492+
module SslContextCallTls12ProtocolFlow = SslContextCallGlobal<SslContextCallTls12ProtocolConfig>;
492493

493494
/**
494495
* A TLS 1.3 protocol value that flows to the first argument of a context constructor.
@@ -518,7 +519,7 @@ module BoostorgAsio {
518519
}
519520
}
520521

521-
module SslContextCallTls13ProtocolFlow = SslContextCallMake<SslContextCallTls13ProtocolConfig>;
522+
module SslContextCallTls13ProtocolFlow = SslContextCallGlobal<SslContextCallTls13ProtocolConfig>;
522523

523524
/**
524525
* A generic TLS protocol value that flows to the first argument of a context constructor.
@@ -548,7 +549,7 @@ module BoostorgAsio {
548549
}
549550
}
550551

551-
module SslContextCallTlsProtocolFlow = SslContextCallMake<SslContextCallTlsProtocolConfig>;
552+
module SslContextCallTlsProtocolFlow = SslContextCallGlobal<SslContextCallTlsProtocolConfig>;
552553

553554
/**
554555
* A context constructor call that flows to a call to `SetOptions()`.

0 commit comments

Comments
 (0)