simplify client new/revoke
Change-Id: Ieffad88163393ec6f5a1e04e200df524dbf2c447
diff --git a/src/client-module.cpp b/src/client-module.cpp
index 024c23e..96d4dfe 100644
--- a/src/client-module.cpp
+++ b/src/client-module.cpp
@@ -212,13 +212,7 @@
}
std::list<std::string>
-ClientModule::onNewResponse(const Data& reply)
-{
- return onRequestInitResponse(reply, RequestType::NEW);
-}
-
-std::list<std::string>
-ClientModule::onRequestInitResponse(const Data& reply, RequestType requestType)
+ClientModule::onNewRenewRevokeResponse(const Data& reply)
{
if (!security::verifySignature(reply, m_ca.m_anchor)) {
_LOG_ERROR("Cannot verify data signature from " << m_ca.m_caPrefix.toUri());
@@ -278,12 +272,6 @@
return interest;
}
-std::list<std::string>
-ClientModule::onRevokeResponse(const Data& reply)
-{
- return onRequestInitResponse(reply, RequestType::REVOKE);
-}
-
shared_ptr<Interest>
ClientModule::generateChallengeInterest(const Block& challengeRequest)
{