change RequestID to RequestId
Change-Id: Icb426614f391d2828c906155a0d37fd7da7c13f8
diff --git a/src/ca-module.cpp b/src/ca-module.cpp
index 7153731..2aee91a 100644
--- a/src/ca-module.cpp
+++ b/src/ca-module.cpp
@@ -305,7 +305,7 @@
"Error computing the request ID."));
return;
}
- RequestID id;
+ RequestId id;
std::memcpy(id.data(), requestIdData, id.size());
RequestState requestState(m_config.m_caItem.m_caPrefix, id,
requestType, Status::BEFORE_CHALLENGE, *clientCert,
@@ -464,7 +464,7 @@
std::unique_ptr<RequestState>
CaModule::getCertificateRequest(const Interest& request)
{
- RequestID requestId;
+ RequestId requestId;
try {
auto& component = request.getName().at(m_config.m_caItem.m_caPrefix.size() + 2);
std::memcpy(requestId.data(), component.value(), component.value_size());