Skip to content

Commit 7aeb314

Browse files
committed
fix formatting
1 parent 0524ea6 commit 7aeb314

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

cpp/ql/lib/experimental/quantum/OpenSSL/AlgorithmValueConsumers/PKeyAlgorithmValueConsumer.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ class EVPPKeyAlgorithmConsumer extends PKeyValueConsumer {
6363
}
6464

6565
// TODO: not sure where to put all these predicates below
66-
6766
/**
6867
* Given context expression (EVP_PKEY_CTX), finds the algorithm.
6968
*/

cpp/ql/lib/experimental/quantum/OpenSSL/Operations/OpenSSLOperationBase.qll

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ private import experimental.quantum.OpenSSL.AlgorithmValueConsumers.OpenSSLAlgor
77
*/
88
class OpenSSLCall extends Call { }
99

10+
/**
1011
* A class for all OpenSSL operations.
1112
*/
12-
abstract class OpenSSLOperation extends Crypto::OperationInstance instanceof Call {
13+
abstract class OpenSSLOperation extends Crypto::OperationInstance instanceof OpenSSLCall {
1314
/**
1415
* Expression that specifies the algorithm for the operation.
1516
* Will be an argument of the operation in the simplest case.
@@ -67,7 +68,6 @@ abstract class EVPInitialize extends OpenSSLCall {
6768
* These are not operations in the sense of Crypto::OperationInstance,
6869
* but they are used to update the context for the operation.
6970
*/
70-
7171
abstract class EVPUpdate extends OpenSSLCall {
7272
/**
7373
* Gets the context argument that ties together initialization, updates and/or final calls.
@@ -133,7 +133,7 @@ abstract class EVPOperation extends OpenSSLOperation {
133133
EVPInitialize getInitCall() {
134134
CTXFlow::ctxArgFlowsToCtxArg(result.getContextArg(), this.getContextArg())
135135
}
136-
136+
137137
Crypto::ArtifactOutputDataFlowNode getOutputArtifact() {
138138
result = DataFlow::exprNode(this.getOutputArg())
139139
}
@@ -173,4 +173,3 @@ abstract class EVPFinal extends EVPOperation {
173173
*/
174174
override Expr getOutputArg() { result = this.getUpdateCalls().getOutputArg() }
175175
}
176-

0 commit comments

Comments
 (0)