Skip to content

Commit 122a004

Browse files
bdrodesnicolaswill
andauthored
Update cpp/ql/lib/experimental/quantum/OpenSSL/AlgorithmInstances/MACAlgorithmInstance.qll
Co-authored-by: Nicolas Will <[email protected]>
1 parent 976364f commit 122a004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/experimental/quantum/OpenSSL/AlgorithmInstances/MACAlgorithmInstance.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class KnownOpenSslHMacConstantAlgorithmInstance extends Crypto::HmacAlgorithmIns
5454
then
5555
// ASSUMPTION: if there is an explicit hash algorithm, it is already modeled
5656
// and we can simply grab that model's AVC
57-
exists(OpenSslAlgorithmInstance inst | inst.getAvc() = result and inst = this)
57+
this.(OpenSslAlgorithmInstance).getAvc() = result
5858
else
5959
// ASSUMPTION: If no explicit algorithm is given, then find
6060
// where the current AVC traces to a HashAlgorithmIO consuming operation step.

0 commit comments

Comments
 (0)