code style: Fix indentation for KeyChain::signByIdentity.
diff --git a/ndn-cpp/security/key-chain.cpp b/ndn-cpp/security/key-chain.cpp
index c17960d..6547337 100644
--- a/ndn-cpp/security/key-chain.cpp
+++ b/ndn-cpp/security/key-chain.cpp
@@ -134,16 +134,16 @@
identityManager_->signByCertificate(data, signingCertificateName);
}
- shared_ptr<Signature>
- KeyChain::signByIdentity(const uint8_t* buffer, size_t bufferLength, const Name& identityName)
- {
- Name signingCertificateName = identityManager_->getDefaultCertificateNameForIdentity(identityName);
+shared_ptr<Signature>
+KeyChain::signByIdentity(const uint8_t* buffer, size_t bufferLength, const Name& identityName)
+{
+ Name signingCertificateName = identityManager_->getDefaultCertificateNameForIdentity(identityName);
- if (signingCertificateName.size() == 0)
- throw SecurityException("No qualified certificate name found!");
+ if (signingCertificateName.size() == 0)
+ throw SecurityException("No qualified certificate name found!");
- return identityManager_->signByCertificate(buffer, bufferLength, signingCertificateName);
- }
+ return identityManager_->signByCertificate(buffer, bufferLength, signingCertificateName);
+}
void
KeyChain::verifyData