[IOT-2756] Handle empty cert chain in role entry 95/22595/2
authorAlex Kelley <alexke@microsoft.com>
Fri, 22 Sep 2017 21:36:11 +0000 (14:36 -0700)
committerRandeep Singh <randeep.s@samsung.com>
Wed, 27 Sep 2017 03:47:52 +0000 (03:47 +0000)
commitd707d8369a9a0c44fd4df300ee2e572a0cdb1dc3
tree62980f1012a0f1c289607969d3200061142fd550
parentea1a147b0c6366fddf703f4c629792c105767cfd
[IOT-2756] Handle empty cert chain in role entry

Update HandleDeleteRequest to return OC_EH_RESOURCE_DELETED when the role
entry does not contain any cert chains.

Change-Id: Id393a67da10c4f18f8fb69ed15de7782bdac9c70
Signed-off-by: Alex Kelley <alexke@microsoft.com>
resource/csdk/security/src/rolesresource.c