Fixed bug in compared WILDCARD_SUBJECT_ID
authorjs126.lee <js126.lee@samsung.com>
Tue, 21 Mar 2017 06:43:06 +0000 (15:43 +0900)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Wed, 22 Mar 2017 04:26:13 +0000 (04:26 +0000)
commit8b15a6a399ebfd3eff730f7cae39c4c19129cedf
tree0776787343fa8d40ab5eec59185becf0e79baac2
parent65f821524d18cb56f195b2b2e2aedc8928199f7f
Fixed bug in compared WILDCARD_SUBJECT_ID

Issue : If the first character of deviceuuid generated ramdomly is *(2a) in PT,
        subjectuuid of cred is set to * wrongly instead of actual deviceuuid
        during generating cred payload during OT.

Change-Id: Idc6587d71456a1eb7a816bd083bfcbb5c94e9c34
Signed-off-by: js126.lee <js126.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18041
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
resource/csdk/security/src/credresource.c [changed mode: 0755->0644]