mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
Crypto: Updating JCA to use new key size predicate returning int for elliptic curve.
This commit is contained in:
@@ -1606,13 +1606,8 @@ module JCAModel {
|
||||
else result = Crypto::OtherEllipticCurveType()
|
||||
}
|
||||
|
||||
override string getKeySize() {
|
||||
exists(int keySize |
|
||||
Crypto::ellipticCurveNameToKeySizeAndFamilyMapping(this.getRawEllipticCurveName(), keySize,
|
||||
_)
|
||||
|
|
||||
result = keySize.toString()
|
||||
)
|
||||
override int getKeySize() {
|
||||
Crypto::ellipticCurveNameToKeySizeAndFamilyMapping(this.getRawEllipticCurveName(), result, _)
|
||||
}
|
||||
|
||||
EllipticCurveAlgorithmValueConsumer getConsumer() { result = consumer }
|
||||
|
||||
Reference in New Issue
Block a user