mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Crypto: Fix use of a member where a singleton set literal exists
This commit is contained in:
@@ -1223,7 +1223,7 @@ module JCAModel {
|
|||||||
class Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral extends Crypto::KeyOperationAlgorithmInstance instanceof KdfAlgorithmStringLiteral
|
class Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral extends Crypto::KeyOperationAlgorithmInstance instanceof KdfAlgorithmStringLiteral
|
||||||
{
|
{
|
||||||
Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral() {
|
Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral() {
|
||||||
this.(StringLiteral).getValue().toUpperCase().matches(["PBKDF2WithHmac%"].toUpperCase())
|
this.(StringLiteral).getValue().toUpperCase().matches("PBKDF2WithHmac%".toUpperCase())
|
||||||
}
|
}
|
||||||
|
|
||||||
override Crypto::KeyOpAlg::AlgorithmType getAlgorithmType() {
|
override Crypto::KeyOpAlg::AlgorithmType getAlgorithmType() {
|
||||||
|
|||||||
Reference in New Issue
Block a user