Fix the bug when user type in NONE when selecting CAs
Change-Id: Ie12c058ec0685a537300f11dd227771f8e719c28
diff --git a/src/client-module.hpp b/src/client-module.hpp
index 330b3c6..806c5bc 100644
--- a/src/client-module.hpp
+++ b/src/client-module.hpp
@@ -71,6 +71,9 @@
shared_ptr<Interest>
generateProbeInfoInterest(const Name& caName);
+ bool
+ verifyProbeInfoResponse(const Data& reply);
+
/**
* @brief Process the replied PROBE INFO Data packet
* Warning: this function will add a new trust anchor into the application.
@@ -78,7 +81,7 @@
* can be verified in later challenge phase.
*/
void
- onProbeInfoResponse(const Data& reply);
+ addCaFromProbeInfoResponse(const Data& reply);
shared_ptr<Interest>
generateProbeInterest(const ClientCaItem& ca, const std::string& probeInfo);