update
Change-Id: I080724932a5d5e0c7ad6eef6dadf1c46c7386d54
diff --git a/src/requester.cpp b/src/requester.cpp
index 7b1df5f..52c0014 100644
--- a/src/requester.cpp
+++ b/src/requester.cpp
@@ -261,11 +261,7 @@
NDN_THROW(std::runtime_error("Cannot verify replied Data packet signature."));
}
processIfError(reply);
- auto result = decodeBlockWithAesGcm128(reply.getContent(), state.m_aesKey,
- state.m_requestId.data(),
- state.m_requestId.size());
- Block contentTLV = makeBinaryBlock(tlv::EncryptedPayload, result.data(), result.size());
- ChallengeEncoder::decodeDataContent(contentTLV, state);
+ ChallengeEncoder::decodeDataContent(reply.getContent(), state);
}
shared_ptr<Interest>