Fix compilation against the latest version of ndn-cxx
Change-Id: I7fc1204f50241ec5f972578c3ea69782cd5f311f
diff --git a/tests/test-common.cpp b/tests/test-common.cpp
index 8214cf5..42cbf37 100644
--- a/tests/test-common.cpp
+++ b/tests/test-common.cpp
@@ -27,7 +27,7 @@
#include "test-common.hpp"
-#include <ndn-cxx/util/digest.hpp>
+#include <ndn-cxx/util/sha256.hpp>
#include <ndn-cxx/security/signature-sha256-with-rsa.hpp>
namespace ndn {
@@ -106,7 +106,7 @@
}
shared_ptr<Link>
-makeLink(const Name& name, std::initializer_list<std::pair<uint32_t, Name>> delegations)
+makeLink(const Name& name, std::initializer_list<Delegation> delegations)
{
auto link = make_shared<Link>(name, delegations);
signData(link);