tests: Improving ManagementTool test suite and fixing discovered bugs
Change-Id: I1c7e51cf105544325657825474f9ee85d61396ed
Refs: #2226
diff --git a/tools/ndns-export-certificate.cpp b/tools/ndns-export-certificate.cpp
index 701aa20..e72a841 100644
--- a/tools/ndns-export-certificate.cpp
+++ b/tools/ndns-export-certificate.cpp
@@ -93,7 +93,8 @@
try {
Name certName(certStr);
- ndn::ndns::ManagementTool tool(db);
+ ndn::KeyChain keyChain;
+ ndn::ndns::ManagementTool tool(db, keyChain);
tool.exportCertificate(certName, output);
}
catch (const std::exception& ex) {