clean header file include
Change-Id: I5df52db13f964a92bba7cc8659ec6bcc222f5cbb
diff --git a/src/challenge-module/challenge-email.hpp b/src/challenge-module/challenge-email.hpp
index 42a329d..f853e95 100644
--- a/src/challenge-module/challenge-email.hpp
+++ b/src/challenge-module/challenge-email.hpp
@@ -22,8 +22,6 @@
#define NDNCERT_CHALLENGE_EMAIL_HPP
#include "../challenge-module.hpp"
-#include <ndn-cxx/util/time.hpp>
-#include <ndn-cxx/encoding/block.hpp>
namespace ndn {
namespace ndncert {
@@ -59,7 +57,7 @@
// For CA
std::tuple<ErrorCode, std::string>
- handleChallengeRequest(const Block& params, CertificateRequest& request) override;
+ handleChallengeRequest(const Block& params, RequestState& request) override;
// For Client
std::vector<std::tuple<std::string, std::string>>
@@ -75,7 +73,7 @@
void
sendEmail(const std::string& emailAddress, const std::string& secret,
- const CertificateRequest& request) const;
+ const RequestState& request) const;
PUBLIC_WITH_TESTS_ELSE_PRIVATE:
// challenge status