model+helper+examples: Enable configurability of NFD parameters using StackHelper
Refs: #2353, #2220
diff --git a/helper/ndn-fib-helper.cpp b/helper/ndn-fib-helper.cpp
index 6218aeb..dddcc8a 100644
--- a/helper/ndn-fib-helper.cpp
+++ b/helper/ndn-fib-helper.cpp
@@ -59,7 +59,7 @@
commandName.append(encodedParameters);
shared_ptr<Interest> command(make_shared<Interest>(commandName));
- StackHelper::getKeyChain().signWithSha256(*command);
+ StackHelper::getKeyChain().sign(*command);
Ptr<L3Protocol> l3protocol = node->GetObject<L3Protocol>();
shared_ptr<nfd::FibManager> fibManager = l3protocol->getFibManager();
@@ -77,7 +77,7 @@
commandName.append(encodedParameters);
shared_ptr<Interest> command(make_shared<Interest>(commandName));
- StackHelper::getKeyChain().signWithSha256(*command);
+ StackHelper::getKeyChain().sign(*command);
Ptr<L3Protocol> L3protocol = node->GetObject<L3Protocol>();
shared_ptr<nfd::FibManager> fibManager = L3protocol->getFibManager();