Reduce namespace nesting (ndn::ndncert -> ndncert)
Change-Id: I5b69a2c3673cccdf07ea0ba3a0e7181894328f47
diff --git a/src/detail/crypto-helpers.hpp b/src/detail/crypto-helpers.hpp
index 9701786..235c6b5 100644
--- a/src/detail/crypto-helpers.hpp
+++ b/src/detail/crypto-helpers.hpp
@@ -25,7 +25,6 @@
#include <openssl/evp.h>
-namespace ndn {
namespace ndncert {
/**
@@ -33,7 +32,7 @@
*
* The ECDH is based on prime256v1.
*/
-class ECDHState : noncopyable
+class ECDHState : boost::noncopyable
{
public:
ECDHState();
@@ -169,7 +168,7 @@
* invocations of this function with the same @p key.
* @return Buffer The plaintext buffer.
*/
-Buffer
+ndn::Buffer
decodeBlockWithAesGcm128(const Block& block, const uint8_t* key,
const uint8_t* associatedData, size_t associatedDataSize,
std::vector<uint8_t>& decryptionIv, const std::vector<uint8_t>& encryptionIv);
@@ -183,6 +182,5 @@
#endif
} // namespace ndncert
-} // namespace ndn
#endif // NDNCERT_DETAIL_CRYPTO_HELPERS_HPP