Fix a typo in const variable name

Change-Id: I10a02f7aa19b4a4fb4e651ab1bfbb8b0faf0de43
diff --git a/src/ca-module.cpp b/src/ca-module.cpp
index a6855db..5695d93 100644
--- a/src/ca-module.cpp
+++ b/src/ca-module.cpp
@@ -551,7 +551,7 @@
   JsonSection challengesSection;
   root.put(JSON_CA_ECDH, ecdhKey);
   root.put(JSON_CA_SALT, salt);
-  root.put(JSON_CA_EQUEST_ID, request.m_requestId);
+  root.put(JSON_CA_REQUEST_ID, request.m_requestId);
   root.put(JSON_CA_STATUS, std::to_string(request.m_status));
 
   for (const auto& entry : challenges) {
diff --git a/src/client-module.cpp b/src/client-module.cpp
index a94b176..28e535b 100644
--- a/src/client-module.cpp
+++ b/src/client-module.cpp
@@ -203,7 +203,7 @@
 
   // update state
   m_status = contentJson.get<int>(JSON_CA_STATUS);
-  m_requestId = contentJson.get<std::string>(JSON_CA_EQUEST_ID, "");
+  m_requestId = contentJson.get<std::string>(JSON_CA_REQUEST_ID, "");
 
   auto challengesJson = contentJson.get_child(JSON_CA_CHALLENGES);
   m_challengeList.clear();
diff --git a/src/ndncert-common.hpp b/src/ndncert-common.hpp
index bf314cd..9835578 100644
--- a/src/ndncert-common.hpp
+++ b/src/ndncert-common.hpp
@@ -92,7 +92,7 @@
 const std::string JSON_CA_CONFIG = "ca-config";
 const std::string JSON_CA_ECDH = "ecdh-pub";
 const std::string JSON_CA_SALT = "salt";
-const std::string JSON_CA_EQUEST_ID = "request-id";
+const std::string JSON_CA_REQUEST_ID = "request-id";
 const std::string JSON_CA_STATUS = "status";
 const std::string JSON_CA_CHALLENGES = "challenges";
 const std::string JSON_CA_CHALLENGE_ID = "challenge-id";
diff --git a/tests/unit-tests/ca-module.t.cpp b/tests/unit-tests/ca-module.t.cpp
index 1468aa5..374c847 100644
--- a/tests/unit-tests/ca-module.t.cpp
+++ b/tests/unit-tests/ca-module.t.cpp
@@ -174,7 +174,7 @@
       auto contentJson = ClientModule::getJsonFromData(response);
       BOOST_CHECK(contentJson.get<std::string>(JSON_CA_ECDH) != "");
       BOOST_CHECK(contentJson.get<std::string>(JSON_CA_SALT) != "");
-      BOOST_CHECK(contentJson.get<std::string>(JSON_CA_EQUEST_ID) != "");
+      BOOST_CHECK(contentJson.get<std::string>(JSON_CA_REQUEST_ID) != "");
       auto challengesJson = contentJson.get_child(JSON_CA_CHALLENGES);
       BOOST_CHECK(challengesJson.size() != 0);