src: Correcting coding style of security related code.
Change-Id: Iff09b16d8a86462aff0abbd202b82cebb74bc365
diff --git a/src/security/certificate-subject-description.cpp b/src/security/certificate-subject-description.cpp
index 44cd8c5..5c257d4 100644
--- a/src/security/certificate-subject-description.cpp
+++ b/src/security/certificate-subject-description.cpp
@@ -32,8 +32,8 @@
// AttributeValue ::= ANY DEFINED BY AttributeType
DERSequenceEncoder attributeTypeAndValue(out);
{
- oid_.encode(attributeTypeAndValue);
- DEREncodeTextString(attributeTypeAndValue, value_, PRINTABLE_STRING);
+ m_oid.encode(attributeTypeAndValue);
+ DEREncodeTextString(attributeTypeAndValue, m_value, PRINTABLE_STRING);
}
attributeTypeAndValue.MessageEnd();
}
@@ -54,11 +54,11 @@
BERSequenceDecoder attributeTypeAndValue(in);
{
- oid_.decode(attributeTypeAndValue);
+ m_oid.decode(attributeTypeAndValue);
/// @todo May be add more intelligent processing, since the following
/// may fail if somebody encoded attribute that uses non PRINTABLE_STRING as value
- BERDecodeTextString(attributeTypeAndValue, value_, PRINTABLE_STRING);
+ BERDecodeTextString(attributeTypeAndValue, m_value, PRINTABLE_STRING);
}
attributeTypeAndValue.MessageEnd();
}