Fix to get only single credential entry
authorJoonghwan Lee <jh05.lee@samsung.com>
Fri, 21 Oct 2016 06:58:39 +0000 (15:58 +0900)
committerRandeep Singh <randeep.s@samsung.com>
Thu, 27 Oct 2016 03:09:20 +0000 (03:09 +0000)
commit21b0235ff941b1be97f365ff17522d326c705207
tree92528c957c6e6b1da94b6981daf05bfdf4c8cc6d
parent92a3e77a05c814567bdf26a04535c3f8aec37135
Fix to get only single credential entry

Old function(GetCredResourceDataByCredId) return not only the indicated credential entry but also all linked entries.

Change-Id: I0466b4c25a21395f08664a11ecfa6fd51a94b258
Signed-off-by: Joonghwan Lee <jh05.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13547
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
(cherry picked from commit f849ddefea68e5668900f274976d440931818ef3)
Reviewed-on: https://gerrit.iotivity.org/gerrit/13693
Reviewed-by: Chul Lee <chuls.lee@samsung.com>
resource/csdk/security/include/internal/credresource.h
resource/csdk/security/provisioning/src/secureresourceprovider.c
resource/csdk/security/src/credresource.c [changed mode: 0644->0755]