fix all unit tests
Change-Id: I81ddefe248a563f0dda79b6bb27897599b84ce59
diff --git a/tools/ndncert-client.cpp b/tools/ndncert-client.cpp
index 8e2da5e..e81d792 100644
--- a/tools/ndncert-client.cpp
+++ b/tools/ndncert-client.cpp
@@ -201,7 +201,7 @@
std::cerr << "The fetched CA information cannot be trusted because its integrity is broken" << std::endl;
return;
}
- auto caItem = INFO::decodeDataContentToCaProfile(contentBlock);
+ auto caItem = INFO::decodeDataContent(contentBlock);
std::cerr << "Will use a new trust anchor, please double check the identity info: \n"
<< "This trust anchor information is signed by " << reply.getSignature().getKeyLocator()