prepare for using TLV in probe
Change-Id: I40dbf460909a20610b4e99be4701c58f80b1bc46
diff --git a/src/ca-module.cpp b/src/ca-module.cpp
index da087a0..15c3055 100644
--- a/src/ca-module.cpp
+++ b/src/ca-module.cpp
@@ -153,7 +153,7 @@
const auto& pib = m_keyChain.getPib();
const auto& identity = pib.getIdentity(m_config.m_caPrefix);
const auto& cert = identity.getDefaultKey().getDefaultCertificate();
- Block contentTLV = INFO::encodeContentFromCAConfig(m_config, cert);
+ Block contentTLV = INFO::encodeDataContent(m_config, cert);
Name infoPacketName(m_config.m_caPrefix);
infoPacketName.append("CA").append("INFO").appendVersion().appendSegment(0);