Fix the incorrect credential access in SRPProvisionTrustCertChain.
authorChul Lee <chuls.lee@samsung.com>
Wed, 28 Sep 2016 02:32:00 +0000 (11:32 +0900)
committerRandeep Singh <randeep.s@samsung.com>
Wed, 5 Oct 2016 11:34:14 +0000 (11:34 +0000)
commitb8d7abc17e79e93fdf299cbc21d36f2c655ccfe8
tree81e230462e0edcd9904e47d7b0038cc115873d36
parent3327eac35074ae3d5eff40bf0878327845a68cbf
Fix the incorrect credential access in SRPProvisionTrustCertChain.

SRPProvisionTrustCertChain deletes credential list.
But this credential list is read from global credential list through GetCredResourceDataByCredId API.
So credential list should not be deleted in SRPProvisionTrustCertChain.

Change-Id: I8c143d320ead4aea99daaa7d6882c11cfddf26e2
Signed-off-by: Chul Lee <chuls.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12377
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Greg Zaverucha <gregz@microsoft.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
(cherry picked from commit d1e4e09eafc15211e0b0a83d6aa8fb1dad8f979f)
Reviewed-on: https://gerrit.iotivity.org/gerrit/12793
resource/csdk/security/provisioning/src/secureresourceprovider.c