Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b9bd199

Browse files
committed
Regression fixes for JCA
1 parent 6083df2 commit b9bd199

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • java/ql/lib/experimental/Quantum

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ module JCAModel {
123123
override Crypto::TCipherType getCipherFamily() {
124124
if this.cipherNameMappingKnown(_, super.getAlgorithmName())
125125
then this.cipherNameMappingKnown(result, super.getAlgorithmName())
126-
else result instanceof Crypto::OtherCipherType
126+
else result instanceof Crypto::OTHERCIPHERTYPE
127127
}
128128

129129
bindingset[name]
@@ -135,7 +135,7 @@ module JCAModel {
135135
type instanceof Crypto::DES
136136
or
137137
name = "TripleDES" and
138-
type instanceof Crypto::TripleDES
138+
type instanceof Crypto::TRIPLEDES
139139
or
140140
name = "IDEA" and
141141
type instanceof Crypto::IDEA
@@ -144,7 +144,7 @@ module JCAModel {
144144
type instanceof Crypto::CAST5
145145
or
146146
name = "ChaCha20" and
147-
type instanceof Crypto::ChaCha20
147+
type instanceof Crypto::CHACHA20
148148
or
149149
name = "RC4" and
150150
type instanceof Crypto::RC4

0 commit comments

Comments
 (0)