Code Review fix 1
Change-Id: I92fa40b6dd0a05913461006acc87542884c1f3a5
diff --git a/src/detail/challenge-encoder.hpp b/src/detail/challenge-encoder.hpp
index 3eaf4c4..4aa3b5a 100644
--- a/src/detail/challenge-encoder.hpp
+++ b/src/detail/challenge-encoder.hpp
@@ -22,7 +22,7 @@
#define NDNCERT_DETAIL_CHALLENGE_ENCODER_HPP
#include "detail/ca-request-state.hpp"
-#include "requester-state.hpp"
+#include "requester-request-state.hpp"
namespace ndn {
namespace ndncert {
@@ -31,10 +31,10 @@
{
public:
static Block
- encodeDataContent(ca::RequestState& request, optional<Name> issuedCertName = nullopt);
+ encodeDataContent(ca::RequestState& request, const Name& issuedCertName = Name());
static void
- decodeDataContent(const Block& data, requester::RequestContext& state);
+ decodeDataContent(const Block& contentBlock, requester::RequestState& state);
};
} // namespace ndncert