Fix build failure due to checkin
https://gerrit.iotivity.org/gerrit/19785
Change-Id: If9793e3b3219b71b12d53a1e66672863ab66d62e
Signed-off-by: ol.beketov <ol.beketov@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20033
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Tested-by: Dan Mihai <Daniel.Mihai@microsoft.com>
if(subOwnerInst)
{
char* strUuid = NULL;
- if (sizeof(subOwnerInst->uuid.id) < authenticationSubOwnerInfo.identity.id)
+ if (sizeof(subOwnerInst->uuid.id) < authenticationSubOwnerInfo.identity.id_length)
{
OIC_LOG(ERROR, TAG, "Identity id is too long");
return;