summaryrefslogtreecommitdiff
path: root/src/manager/service/ocsp-logic.h
diff options
context:
space:
mode:
authorsangwan.kwon <sangwan.kwon@samsung.com>2015-12-10 13:49:43 +0900
committersangwan.kwon <sangwan.kwon@samsung.com>2015-12-22 16:24:22 +0900
commitfa221dbbd5ecc2b439932755c56a9e5ad2d7c23b (patch)
tree33824b7a92543eb0e5a26d5362b3d37d83932644 /src/manager/service/ocsp-logic.h
parent37c8ad2ece096d99ee2699db4ace43192ef4d721 (diff)
downloadkey-manager-fa221dbbd5ecc2b439932755c56a9e5ad2d7c23b.tar.gz
key-manager-fa221dbbd5ecc2b439932755c56a9e5ad2d7c23b.tar.bz2
key-manager-fa221dbbd5ecc2b439932755c56a9e5ad2d7c23b.zip
Apply coding rule
covered Tizen C++ coding rule list - [R06] : Do not unnecessarily use braces where a single statement will do. - Exception: if one branch of a conditional statement is a single statement, use braces in both branches. - [M08] : Keywords have following space rules - Put a space after (most) keywords - example: if, switch, case, for, do, while - Do not put a space after function like keywords - example: sizeof, typeof, alignof, __attribute__ - [M09] : Operators have following space rules - Put a space around(on each side of) most binary and ternary operators - Example : = + -< > * / % | & ^ <= >= == != ? : - Do not put a space after unary operators - Example: & * + -~ ! - Unary "++" and unary "--" are allowed no space on one side - Do not put a space around the "." and "->" structure member operators. - Do not put a space after cast operator - [M10] : Seperators have following space rules - Put a space after closing brace when it has anything on the line. - Exception : comma after closing brace '},‘ - Put a space after comma - Do not put space inside parenthesis '(', ')‘ - Do not put space before open square bracket '[‘ and inside square bracket '[', ']‘ - [M12] : Functions have the opening brace at the beginning of the next line. - [M13] : The open brace last on the line. The closing brace is empty on a line of its own - Exception : else, whileshould follow close brace '}’ - [M14] : Open braces for enum, union and structgo on the same line Change-Id: I6e59513ba121a25222e6e626792b3e115ebec1d3 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
Diffstat (limited to 'src/manager/service/ocsp-logic.h')
-rw-r--r--src/manager/service/ocsp-logic.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/manager/service/ocsp-logic.h b/src/manager/service/ocsp-logic.h
index 6a065c1e..b700d86f 100644
--- a/src/manager/service/ocsp-logic.h
+++ b/src/manager/service/ocsp-logic.h
@@ -34,13 +34,11 @@ public:
OCSPLogic& operator=(OCSPLogic &&) = delete;
RawBuffer ocspCheck(int commandId, const RawBufferVector &rawChain, bool allowed);
- virtual ~OCSPLogic(){}
+ virtual ~OCSPLogic() {}
+
private:
void setNetAvailable();
bool m_isNetAvailable;
};
-
-
-
} // namespace CKM