rib: Accept KeyChain in RibManager constructor
refs: #2390
Change-Id: I45c9aae4bb111d75de63dcbcba4b3e6296eb2426
diff --git a/rib/rib-manager.cpp b/rib/rib-manager.cpp
index 8215ade..4c03f3b 100644
--- a/rib/rib-manager.cpp
+++ b/rib/rib-manager.cpp
@@ -73,8 +73,9 @@
const time::seconds RibManager::ACTIVE_FACE_FETCH_INTERVAL = time::seconds(300);
-RibManager::RibManager(ndn::Face& face)
+RibManager::RibManager(ndn::Face& face, ndn::KeyChain& keyChain)
: m_face(face)
+ , m_keyChain(keyChain)
, m_nfdController(m_face, m_keyChain)
, m_localhostValidator(m_face)
, m_localhopValidator(m_face)