Skip to content

Commit 579da1d

Browse files
committed
Fix QL-for-QL alerts
1 parent 9fa30a3 commit 579da1d

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,14 +249,14 @@ module JCAModel {
249249
name.toUpperCase().splitAt("with".toUpperCase(), 1).matches("DSA%") and
250250
type = KeyOpAlg::TSignature(KeyOpAlg::DSA())
251251
or
252-
name.toUpperCase().matches("RSASSA-PSS") and type = KeyOpAlg::TAsymmetricCipher(KeyOpAlg::RSA())
252+
name.toUpperCase() = "RSASSA-PSS" and type = KeyOpAlg::TAsymmetricCipher(KeyOpAlg::RSA())
253253
or
254254
name.toUpperCase().matches(["EDDSA", "ED25519", "ED448"]) and
255255
type = KeyOpAlg::TSignature(KeyOpAlg::EDDSA())
256256
or
257257
name.toUpperCase().matches("ML-DSA%") and type = KeyOpAlg::TSignature(KeyOpAlg::DSA())
258258
or
259-
name.toUpperCase().matches("HSS/LMS") and type = KeyOpAlg::TSignature(KeyOpAlg::HSS_LMS())
259+
name.toUpperCase() = "HSS/LMS" and type = KeyOpAlg::TSignature(KeyOpAlg::HSS_LMS())
260260
}
261261

262262
bindingset[name]
@@ -1814,9 +1814,9 @@ module JCAModel {
18141814
}
18151815
}
18161816

1817-
class SignatureOperationinstance extends Crypto::SignatureOperationInstance instanceof SignatureOperationCall
1817+
class SignatureOperationInstance extends Crypto::SignatureOperationInstance instanceof SignatureOperationCall
18181818
{
1819-
SignatureOperationinstance() {
1819+
SignatureOperationInstance() {
18201820
// exclude update (only include sign and verify)
18211821
not super.isIntermediate()
18221822
}

0 commit comments

Comments
 (0)