update
Change-Id: I080724932a5d5e0c7ad6eef6dadf1c46c7386d54
diff --git a/src/ca-module.cpp b/src/ca-module.cpp
index f591187..6df30eb 100644
--- a/src/ca-module.cpp
+++ b/src/ca-module.cpp
@@ -423,12 +423,7 @@
Data result;
result.setName(request.getName());
result.setFreshnessPeriod(DEFAULT_DATA_FRESHNESS_PERIOD);
- auto contentBlock = encodeBlockWithAesGcm128(ndn::tlv::Content, requestState->m_encryptionKey.value(),
- payload.value(), payload.value_size(),
- requestState->m_requestId.data(),
- requestState->m_requestId.size(),
- requestState->m_aesBlockCounter);
- result.setContent(contentBlock);
+ result.setContent(payload);
m_keyChain.sign(result, signingByIdentity(m_config.m_caItem.m_caPrefix));
m_face.put(result);
if (m_config.m_statusUpdateCallback) {