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 {
2121}
2222
2323// ----------------- SOURCES -----------------------
24- predicate providerString ( StringLiteral lit ) {
24+ predicate vulnProviderLiteral ( StringLiteral lit ) {
2525 exists ( string s | s = lit .getValue ( ) |
2626 s in [ "DH" , "DSA" , "ECDSA" , "ECDH" ] or
2727 s .matches ( "ECDH%" ) or
@@ -30,5 +30,5 @@ predicate providerString(StringLiteral lit) {
3030}
3131
3232class BCryptOpenAlgorithmProviderPqcVulnerableAlgorithmsSource extends BCryptOpenAlgorithmProviderSource {
33- BCryptOpenAlgorithmProviderPqcVulnerableAlgorithmsSource ( ) { providerString ( this .asExpr ( ) ) }
33+ BCryptOpenAlgorithmProviderPqcVulnerableAlgorithmsSource ( ) { vulnProviderLiteral ( this .asExpr ( ) ) }
3434}
You can’t perform that action at this time.
0 commit comments