Add check in ca storage and fix name in certificate request hpp
Change-Id: If82dce11c5897fd1df86367233b57a998183b5a7
diff --git a/src/certificate-request.hpp b/src/certificate-request.hpp
index 26fd9da..29e3823 100644
--- a/src/certificate-request.hpp
+++ b/src/certificate-request.hpp
@@ -46,8 +46,8 @@
CertificateRequest(const Name& caName, const std::string& requestId,
const std::string& status, const std::string& challengeType,
- const std::string& challengeDefinedField,
- const security::v2::Certificate& certBlock);
+ const std::string& challengeSecrets,
+ const security::v2::Certificate& cert);
const Name&
getCaName() const