Modify the incorrect UUID parse in 'GetSubjectFromQueryString' API.
authorChul Lee <chuls.lee@samsung.com>
Thu, 26 May 2016 04:52:09 +0000 (13:52 +0900)
committerRandeep Singh <randeep.s@samsung.com>
Tue, 7 Jun 2016 03:24:46 +0000 (03:24 +0000)
commit56d85990ff6044498b2f3b428b1ff9df29226e0c
treeeb51fd1605fb51f932f8620add5cb9f4259b8733
parent127bad8c8e5c7a4a82fec0078c77b407ee596cec
Modify the incorrect UUID parse in 'GetSubjectFromQueryString' API.

[NOTE]
GetSubjectFromQueryString API will be invoked when received REST requests to
retrieves the 'subject' field.
BTW, Since the subject of query is the string type,
The subject field should not be copied directly.
it should be converted as OicUuid_t.

[Patch #1] : Intial upload
[Patch #2] : Update unittest

Change-Id: I772ee91a9061ac2c9762ed09c5d09c5e90be90ff
Signed-off-by: Chul Lee <chuls.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8343
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/src/aclresource.c
resource/csdk/security/unittest/aclresourcetest.cpp