Skip to content

Commit d05d38f

Browse files
committed
Crypto: Removing unused class field.
1 parent bbbdf89 commit d05d38f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ class KnownOpenSSLHashAlgorithmConstant extends KnownOpenSSLAlgorithmConstant {
6868
}
6969

7070
class KnownOpenSSLEllipticCurveAlgorithmConstant extends KnownOpenSSLAlgorithmConstant {
71-
string algType;
72-
7371
KnownOpenSSLEllipticCurveAlgorithmConstant() {
74-
resolveAlgorithmFromExpr(this, _, algType) and
75-
algType.toLowerCase().matches("elliptic_curve")
72+
exists(string algType |
73+
resolveAlgorithmFromExpr(this, _, algType) and
74+
algType.toLowerCase().matches("elliptic_curve")
75+
)
7676
}
7777
}
7878

0 commit comments

Comments
 (0)