Commit cf42b3ed authored by Greg Zaverucha's avatar Greg Zaverucha Committed by Randeep

[IOT-2300] Call callback when delete roles resource

When deleteting roles with OCDeleteRoleCertificateByCredId, the
callback provided by the caller was not being called.

Change-Id: I51da5fe61760ff5561fd676e5c220905f106f512
Signed-off-by: default avatarGreg Zaverucha <>
Reviewed-on: default avatarjenkins-iotivity <>
Reviewed-by: default avatarPhil Coval <>
Reviewed-by: Randeep's avatarRandeep Singh <>
parent e967aab9
......@@ -3480,6 +3480,7 @@ static OCStackApplicationResult SRPDeleteRoleCertificateCB(void *ctx, OCDoHandle
GetSecData_t *getSecData = (GetSecData_t *)ctx;
OCProvisionResultCB resultCallback = getSecData->resultCallback;
OIC_LOG(DEBUG, TAG, "SRPDeleteRoleCertificateCB IN");
......@@ -3489,6 +3490,7 @@ static OCStackApplicationResult SRPDeleteRoleCertificateCB(void *ctx, OCDoHandle
getSecData->deviceInfo->doxm->, UUID_LENGTH);
getSecData->resArr[(getSecData->numOfResults)].res = clientResponse->result;
resultCallback(getSecData->ctx, getSecData->numOfResults, getSecData->resArr, false);
OIC_LOG(DEBUG, TAG, "SRPDeleteRoleCertificateCB OUT");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment