File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cpp/ql/src/experimental/campaigns/nccoe-pqc-migration/QuantumVulnerableDiscovery/WinCng Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class BCryptEncryptArgumentSink extends BCryptOpenAlgorithmProviderSink {
21
21
}
22
22
23
23
// ----------------- SOURCES -----------------------
24
- predicate providerString ( StringLiteral lit ) {
24
+ predicate vulnProviderLiteral ( StringLiteral lit ) {
25
25
exists ( string s | s = lit .getValue ( ) |
26
26
s in [ "DH" , "DSA" , "ECDSA" , "ECDH" ] or
27
27
s .matches ( "ECDH%" ) or
@@ -30,5 +30,5 @@ predicate providerString(StringLiteral lit) {
30
30
}
31
31
32
32
class BCryptOpenAlgorithmProviderPqcVulnerableAlgorithmsSource extends BCryptOpenAlgorithmProviderSource {
33
- BCryptOpenAlgorithmProviderPqcVulnerableAlgorithmsSource ( ) { providerString ( this .asExpr ( ) ) }
33
+ BCryptOpenAlgorithmProviderPqcVulnerableAlgorithmsSource ( ) { vulnProviderLiteral ( this .asExpr ( ) ) }
34
34
}
You can’t perform that action at this time.
0 commit comments