Code Review fix 1
Change-Id: I92fa40b6dd0a05913461006acc87542884c1f3a5
diff --git a/tools/ndncert-client.cpp b/tools/ndncert-client.cpp
index f1b99dd..3a9a2b6 100644
--- a/tools/ndncert-client.cpp
+++ b/tools/ndncert-client.cpp
@@ -43,7 +43,7 @@
size_t nStep = 1;
Face face;
security::KeyChain keyChain;
-shared_ptr<RequestContext> requesterState = nullptr;
+shared_ptr<RequestState> requesterState = nullptr;
static void
captureParams(std::vector<std::tuple<std::string, std::string>>& requirement)
@@ -394,7 +394,7 @@
int validityPeriod = captureValidityPeriod();
auto now = time::system_clock::now();
std::cerr << "The validity period of your certificate will be: " << validityPeriod << " hours" << std::endl;
- requesterState =std::make_shared<RequestContext>(keyChain, profile, RequestType::NEW);
+ requesterState =std::make_shared<RequestState>(keyChain, profile, RequestType::NEW);
auto interest = Requester::genNewInterest(*requesterState, identityName, now, now + time::hours(validityPeriod));
if (interest != nullptr) {
face.expressInterest(*interest, bind(&newCb, _2), bind(&onNackCb), bind(&timeoutCb));