fix CHALLENGE state error
Change-Id: Ic555b6be9bceeebe9076847be9fd6f139943ef16
diff --git a/src/protocol-detail/challenge.hpp b/src/protocol-detail/challenge.hpp
index e50d01e..42eb485 100644
--- a/src/protocol-detail/challenge.hpp
+++ b/src/protocol-detail/challenge.hpp
@@ -33,9 +33,9 @@
struct DecodedData{
Status status;
- std::string challengeStatus;
- size_t remainingTries;
- time::seconds remainingTime;
+ optional<std::string> challengeStatus;
+ optional<size_t> remainingTries;
+ optional<time::seconds> remainingTime;
optional<Name> issuedCertName;
};