Fix string copy issue in Credential resource unit test.
authorAnkur Bansal <ankur.b1@samsung.com>
Tue, 7 Jul 2015 07:26:56 +0000 (12:56 +0530)
committerSachin Agrawal <sachin.agrawal@intel.com>
Wed, 8 Jul 2015 21:18:13 +0000 (21:18 +0000)
commit085d0fd83d4db607a2eaf1d9ee9e3e1e6500fed4
treef03bb568db0eb555c1737ec9887dbe04894e34d3
parente6a0e8eac7bbe26371f3f016455fb876c69b7c94
Fix string copy issue in Credential resource unit test.

Update getCredList to correctly pass length of destination buffer while
using OICStrcpy.

Change-Id: I4763d295fc1da92831956bf9ed4a34e90718c7f3
Signed-off-by: Ankur Bansal <ankur.b1@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1553
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
resource/csdk/security/unittest/credentialresource.cpp