security: Disable security temporarily
Refs: #1530
Change-Id: If46346f424c7413d29aa312a2d924dbcb97ee04e
diff --git a/src/nlsr.cpp b/src/nlsr.cpp
index 70a07cf..53a9556 100644
--- a/src/nlsr.cpp
+++ b/src/nlsr.cpp
@@ -39,14 +39,14 @@
m_nlsrLsdb.setLsaRefreshTime(m_confParam.getLsaRefreshTime());
m_nlsrLsdb.setThisRouterPrefix(m_confParam.getRouterPrefix());
m_fib.setEntryRefreshTime(2 * m_confParam.getLsaRefreshTime());
- if (!m_km.initialize(m_confParam))
- {
- std::cerr << "Can not initiate/load certificate" << endl;
- }
+ // if (!m_km.initialize(m_confParam))
+ // {
+ // std::cerr << "Can not initiate/load certificate" << endl;
+ // }
m_sm.setSeqFileName(m_confParam.getSeqFileDir());
m_sm.initiateSeqNoFromFile();
/* debugging purpose start */
- cout << m_confParam;
+ cout << m_confParam;
m_adl.printAdl();
m_npl.print();
/* debugging purpose end */
@@ -58,7 +58,7 @@
setInterestFilterNlsr(m_confParam.getRootKeyPrefix());
m_slh.setSyncPrefix(m_confParam.getChronosyncSyncPrefix());
m_slh.createSyncSocket(boost::ref(*this));
- m_slh.publishKeyUpdate(m_km);
+ // m_slh.publishKeyUpdate(m_km);
m_im.scheduleInfoInterest(10);
}