ca+tools: configurable ca forwarding hint and ca-server interface improvement
Change-Id: I95cc6b2fb195f7c3625f14a4f8856abcf65022d9
diff --git a/src/ca-module.cpp b/src/ca-module.cpp
index 7f51eba..09c0b9c 100644
--- a/src/ca-module.cpp
+++ b/src/ca-module.cpp
@@ -441,7 +441,8 @@
requestState->status = Status::SUCCESS;
m_storage->deleteRequest(requestState->requestId);
- payload = challengetlv::encodeDataContent(*requestState, issuedCert.getName());
+ payload = challengetlv::encodeDataContent(*requestState, issuedCert.getName(),
+ m_config.caProfile.forwardingHint);
NDN_LOG_TRACE("Challenge succeeded. Certificate has been issued: " << issuedCert.getName());
}
else if (requestState->requestType == RequestType::REVOKE) {