File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
shared/cryptography/codeql/cryptography Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1249,7 +1249,7 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
1249
1249
/**
1250
1250
* A generic source node is a source of data that is not resolvable to a specific asset.
1251
1251
*/
1252
- private class GenericSourceNode extends NodeBase , TGenericSourceNode {
1252
+ final class GenericSourceNode extends NodeBase , TGenericSourceNode {
1253
1253
GenericSourceInstance instance ;
1254
1254
1255
1255
GenericSourceNode ( ) { this = TGenericSourceNode ( instance ) }
@@ -2449,10 +2449,9 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
2449
2449
}
2450
2450
}
2451
2451
2452
- predicate isAsymmetricAlgorithm ( AlgorithmNode node ) {
2452
+ predicate isKnownAsymmetricAlgorithm ( AlgorithmNode node ) {
2453
2453
node instanceof EllipticCurveNode
2454
2454
or
2455
2455
node instanceof KeyOperationAlgorithmNode and node .( KeyOperationAlgorithmNode ) .isAsymmetric ( )
2456
- // TODO: get unknown algorithms from known asymmetric operations
2457
2456
}
2458
2457
}
You can’t perform that action at this time.
0 commit comments