mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Crypto: Update JCA 'wihHmac" raw name to be the entire raw string, not just "Hmac"
This commit is contained in:
@@ -1244,10 +1244,7 @@ module JCAModel {
|
||||
|
||||
override Crypto::PaddingAlgorithmInstance getPaddingAlgorithm() { none() }
|
||||
|
||||
override string getRawAlgorithmName() {
|
||||
// Note: hardcoding "hmac" since that should be the only option
|
||||
result = "Hmac"
|
||||
}
|
||||
override string getRawAlgorithmName() { result = this.(StringLiteral).getValue() }
|
||||
}
|
||||
|
||||
class Pbkdf2WithHmac_HashAlgorithmStringLiteral extends Crypto::HashAlgorithmInstance instanceof Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral
|
||||
|
||||
Reference in New Issue
Block a user