src: Correcting coding style of security related code.
Change-Id: Iff09b16d8a86462aff0abbd202b82cebb74bc365
diff --git a/src/security/certificate-extension.cpp b/src/security/certificate-extension.cpp
index 3a23a80..87489ce 100644
--- a/src/security/certificate-extension.cpp
+++ b/src/security/certificate-extension.cpp
@@ -26,9 +26,9 @@
DERSequenceEncoder extension(out);
{
- extensionId_.encode(extension);
- DEREncodeUnsigned(extension, isCritical_, BOOLEAN);
- DEREncodeOctetString(extension, extensionValue_.buf(), extensionValue_.size());
+ m_extensionId.encode(extension);
+ DEREncodeUnsigned(extension, m_isCritical, BOOLEAN);
+ DEREncodeOctetString(extension, m_extensionValue.buf(), m_extensionValue.size());
}
extension.MessageEnd();
}
@@ -43,14 +43,14 @@
BERSequenceDecoder extension(in);
{
- extensionId_.decode(extension);
- BERDecodeUnsigned(extension, isCritical_, BOOLEAN);
+ m_extensionId.decode(extension);
+ BERDecodeUnsigned(extension, m_isCritical, BOOLEAN);
// the extra copy operation can be optimized, but not trivial,
// since the length is not known in advance
SecByteBlock tmpBlock;
BERDecodeOctetString(extension, tmpBlock);
- extensionValue_.assign(tmpBlock.begin(), tmpBlock.end());
+ m_extensionValue.assign(tmpBlock.begin(), tmpBlock.end());
}
extension.MessageEnd();
}