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> {
12491249 /**
12501250 * A generic source node is a source of data that is not resolvable to a specific asset.
12511251 */
1252- private class GenericSourceNode extends NodeBase , TGenericSourceNode {
1252+ final class GenericSourceNode extends NodeBase , TGenericSourceNode {
12531253 GenericSourceInstance instance ;
12541254
12551255 GenericSourceNode ( ) { this = TGenericSourceNode ( instance ) }
@@ -2449,10 +2449,9 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
24492449 }
24502450 }
24512451
2452- predicate isAsymmetricAlgorithm ( AlgorithmNode node ) {
2452+ predicate isKnownAsymmetricAlgorithm ( AlgorithmNode node ) {
24532453 node instanceof EllipticCurveNode
24542454 or
24552455 node instanceof KeyOperationAlgorithmNode and node .( KeyOperationAlgorithmNode ) .isAsymmetric ( )
2456- // TODO: get unknown algorithms from known asymmetric operations
24572456 }
24582457}
You can’t perform that action at this time.
0 commit comments