Skip to content

Commit f5d24c5

Browse files
committed
Crypto: Fix UnknownKeyAgreementType to OthernKeyAgreementType for JCA.
1 parent cf015d1 commit f5d24c5

File tree

1 file changed

+1
-1
lines changed
  • java/ql/lib/experimental/quantum

1 file changed

+1
-1
lines changed

java/ql/lib/experimental/quantum/JCA.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ module JCAModel {
13881388
override Crypto::TKeyAgreementType getKeyAgreementType() {
13891389
if key_agreement_name_to_type_known(_, super.getValue())
13901390
then key_agreement_name_to_type_known(result, super.getValue())
1391-
else result = Crypto::UnknownKeyAgreementType()
1391+
else result = Crypto::OtherKeyAgreementType()
13921392
}
13931393

13941394
KeyAgreementAlgorithmValueConsumer getConsumer() { result = consumer }

0 commit comments

Comments
 (0)