We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbbdf89 commit d05d38fCopy full SHA for d05d38f
cpp/ql/lib/experimental/quantum/OpenSSL/AlgorithmInstances/KnownAlgorithmConstants.qll
@@ -68,11 +68,11 @@ class KnownOpenSSLHashAlgorithmConstant extends KnownOpenSSLAlgorithmConstant {
68
}
69
70
class KnownOpenSSLEllipticCurveAlgorithmConstant extends KnownOpenSSLAlgorithmConstant {
71
- string algType;
72
-
73
KnownOpenSSLEllipticCurveAlgorithmConstant() {
74
- resolveAlgorithmFromExpr(this, _, algType) and
75
- algType.toLowerCase().matches("elliptic_curve")
+ exists(string algType |
+ resolveAlgorithmFromExpr(this, _, algType) and
+ algType.toLowerCase().matches("elliptic_curve")
+ )
76
77
78
0 commit comments