remove probeToken
Change-Id: I8364a9db6c525eb7f6420d4a5520e28e3635449b
diff --git a/tools/ndncert-client.cpp b/tools/ndncert-client.cpp
index 2266a25..73ae8c3 100644
--- a/tools/ndncert-client.cpp
+++ b/tools/ndncert-client.cpp
@@ -235,10 +235,9 @@
std::cerr << "Invalid period time. Exit." << std::endl;
return;
}
- auto probeToken = make_shared<Data>(reply);
auto now = time::system_clock::now();
std::cerr << "The validity period of your certificate will be: " << validityPeriod << " hours" << std::endl;
- auto interest = client.generateNewInterest(now, now + time::hours(validityPeriod), Name(), probeToken);
+ auto interest = client.generateNewInterest(now, now + time::hours(validityPeriod), Name());
if (interest != nullptr) {
face.expressInterest(*interest, bind(&newCb, _2), bind(&onNackCb), bind(&timeoutCb));
}