route: replace FibEntry class with struct
fix warnings from ndn-cxx
Change-Id: I1be322251dcfe5d867717a64547e1908b99c78ba
diff --git a/tests/security/test-certificate-store.cpp b/tests/security/test-certificate-store.cpp
index b4ef2da..00d5d62 100644
--- a/tests/security/test-certificate-store.cpp
+++ b/tests/security/test-certificate-store.cpp
@@ -153,12 +153,12 @@
// check if nlsrKeyPrefix is registered
ndn::Name nlsrKeyPrefix = conf.getRouterPrefix();
nlsrKeyPrefix.append("nlsr");
- nlsrKeyPrefix.append("KEY");
+ nlsrKeyPrefix.append(ndn::security::Certificate::KEY_COMPONENT);
checkPrefixRegistered(face, nlsrKeyPrefix);
// check if routerPrefix is registered
ndn::Name routerKeyPrefix = conf.getRouterPrefix();
- routerKeyPrefix.append("KEY");
+ routerKeyPrefix.append(ndn::security::Certificate::KEY_COMPONENT);
checkPrefixRegistered(face, routerKeyPrefix);
// check if operatorKeyPrefix is registered
@@ -206,7 +206,7 @@
});
lsdb.emitSegmentValidatedSignal(data);
- const auto keyName = data.getSignature().getKeyLocator().getName();
+ const auto keyName = data.getSignatureInfo().getKeyLocator().getName();
BOOST_CHECK(certStore.find(keyName) != nullptr);
// testing a callback after segment validation signal from lsdb