fix all unit tests
Change-Id: I81ddefe248a563f0dda79b6bb27897599b84ce59
diff --git a/src/client-module.cpp b/src/client-module.cpp
index 0e7810e..8fdb7b2 100644
--- a/src/client-module.cpp
+++ b/src/client-module.cpp
@@ -68,7 +68,7 @@
ClientModule::verifyInfoResponse(const Data& reply)
{
// parse the ca item
- auto caItem = INFO::decodeDataContentToCaProfile(reply.getContent());
+ auto caItem = INFO::decodeDataContent(reply.getContent());
// verify the probe Data's sig
if (!security::verifySignature(reply, *caItem.m_cert)) {
@@ -84,7 +84,7 @@
const Block& contentBlock = reply.getContent();
// parse the ca item
- auto caItem = INFO::decodeDataContentToCaProfile(contentBlock);
+ auto caItem = INFO::decodeDataContent(contentBlock);
// update the local config
bool findItem = false;