code style: member variables end with _
diff --git a/ndn-cpp/security/certificate/public-key.cpp b/ndn-cpp/security/certificate/public-key.cpp
index cd88f7e..183b6f2 100644
--- a/ndn-cpp/security/certificate/public-key.cpp
+++ b/ndn-cpp/security/certificate/public-key.cpp
@@ -20,7 +20,7 @@
PublicKey::toDER()
{
boost::iostreams::stream
- <boost::iostreams::array_source> is (m_key.buf (), m_key.size ());
+ <boost::iostreams::array_source> is (m_key.buf (), key_.size ());
return der::DerNode::parse(reinterpret_cast<InputIterator &> (is));
}
diff --git a/ndn-cpp/security/key-chain.cpp b/ndn-cpp/security/key-chain.cpp
index 3f47e3e..197fdfd 100644
--- a/ndn-cpp/security/key-chain.cpp
+++ b/ndn-cpp/security/key-chain.cpp
@@ -137,7 +137,7 @@
#if 0
if (m_policyManager->requireVerify(*dataPtr))
- stepVerify(dataPtr, true, m_maxStep, onVerified, onVerifyFailed);
+ stepVerify(dataPtr, true, maxStep_, onVerified, onVerifyFailed);
else if(m_policyManager->skipVerify(*dataPtr))
#else
if (verifySignature(*data))