update
Change-Id: Ieca8d47963634a7bb410fc9b7c3860fd438a8fff
diff --git a/src/requester.cpp b/src/requester.cpp
index 0f237eb..f62ad4c 100644
--- a/src/requester.cpp
+++ b/src/requester.cpp
@@ -245,9 +245,8 @@
// encrypt the Interest parameters
auto paramBlock = encodeBlockWithAesGcm128(ndn::tlv::ApplicationParameters, state.aesKey.data(),
challengeParams.value(), challengeParams.value_size(),
- state.requestId.data(),
- state.requestId.size(),
- state.aesBlockCounter);
+ state.requestId.data(), state.requestId.size(),
+ state.encryptionIv);
interest->setApplicationParameters(paramBlock);
state.keyChain.sign(*interest, signingByKey(state.keyPair.getName()));
return interest;