#endif
}
}
- OIC_LOG_V(DEBUG, TAG, "Cred Key Data Size : %d\n", size);
+ OIC_LOG_V(DEBUG, TAG, "Cred Key Data Size : %zd\n", size);
return size;
}
const OicSecCred_t *cred = gCred;
- size_t credCnt = 0;
// This added '256' is arbitrary value that is added to cover the name of the resource, map addition and ending
size = GetCredKeyDataSize(cred);
size += (256 * OicSecCredCount(cred));
memcpy(prevId.id, gCred->rownerID.id, sizeof(prevId.id));
memcpy(gCred->rownerID.id, newROwner->id, sizeof(newROwner->id));
- size_t credCnt = 0;
// This added '256' is arbitrary value that is added to cover the name of the resource, map addition and ending
size = GetCredKeyDataSize(gCred);
size += (256 * OicSecCredCount(gCred));