[IOT-2285] Fix build failure
authorol.beketov <ol.beketov@samsung.com>
Thu, 18 May 2017 10:21:34 +0000 (13:21 +0300)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Fri, 19 May 2017 00:34:28 +0000 (00:34 +0000)
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>
resource/csdk/security/src/doxmresource.c

index c1cbf02..c804022 100644 (file)
@@ -1115,7 +1115,7 @@ void MultipleOwnerDTLSHandshakeCB(const CAEndpoint_t *object,
                 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;