mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Crypto: Fix UnknownKeyAgreementType to OthernKeyAgreementType for JCA.
This commit is contained in:
@@ -1388,7 +1388,7 @@ module JCAModel {
|
||||
override Crypto::TKeyAgreementType getKeyAgreementType() {
|
||||
if key_agreement_name_to_type_known(_, super.getValue())
|
||||
then key_agreement_name_to_type_known(result, super.getValue())
|
||||
else result = Crypto::UnknownKeyAgreementType()
|
||||
else result = Crypto::OtherKeyAgreementType()
|
||||
}
|
||||
|
||||
KeyAgreementAlgorithmValueConsumer getConsumer() { result = consumer }
|
||||
|
||||
Reference in New Issue
Block a user