src: Correcting coding style of security related code.
Change-Id: Iff09b16d8a86462aff0abbd202b82cebb74bc365
diff --git a/src/security/identity-certificate.hpp b/src/security/identity-certificate.hpp
index 01427d4..7c3915b 100644
--- a/src/security/identity-certificate.hpp
+++ b/src/security/identity-certificate.hpp
@@ -33,8 +33,6 @@
inline
IdentityCertificate();
- // Note: The copy constructor works because publicKeyName_ has a copy constructor.
-
/**
* Create an IdentityCertificate from the content in the data packet.
* @param data The data packet with the content to decode.
@@ -55,7 +53,7 @@
setName(const Name& name);
inline const Name&
- getPublicKeyName () const;
+ getPublicKeyName() const;
static bool
isIdentityCertificate(const Certificate& certificate);
@@ -76,7 +74,7 @@
setPublicKeyName();
protected:
- Name publicKeyName_;
+ Name m_publicKeyName;
};
inline
@@ -111,9 +109,9 @@
}
inline const Name&
-IdentityCertificate::getPublicKeyName () const
+IdentityCertificate::getPublicKeyName() const
{
- return publicKeyName_;
+ return m_publicKeyName;
}
} // namespace ndn