Fix compilation against the latest ndn-cxx library

Change-Id: Ib9ae9c1601359a81a7f131ab63803f11adba7f38
diff --git a/core/logger.cpp b/core/logger.cpp
index 2089e2a..983a44d 100644
--- a/core/logger.cpp
+++ b/core/logger.cpp
@@ -87,8 +87,7 @@
   Leaf leaf(cert.getFullName(), timestamp, dataSeqNo, dataSeqNo, m_leafPrefix);
 
   if (m_merkleTree.addLeaf(dataSeqNo, leaf.getHash())) {
-    bool result = m_db.insertLeafData(leaf, cert);
-    BOOST_ASSERT(result);
+    m_db.insertLeafData(leaf, cert);
     m_db.getLeaf(dataSeqNo);
   }
   else
@@ -102,7 +101,7 @@
 {
   Name certName = m_keyChain.createIdentity(m_loggerName);
 
-  Name dskKeyName = m_keyChain.generateEcdsaKeyPair(m_loggerName);
+  Name dskKeyName = m_keyChain.generateEcKeyPair(m_loggerName);
   std::vector<ndn::CertificateSubjectDescription> subjectDescription;
   auto dskCert =
     m_keyChain.prepareUnsignedIdentityCertificate(dskKeyName, m_loggerName,