Modify incorrect conditional statements in OCParseSecurityPayload
authorleechul <chuls.lee@samsung.com>
Fri, 11 Dec 2015 01:41:03 +0000 (10:41 +0900)
committerHabib Virji <habib.virji@samsung.com>
Fri, 11 Dec 2015 09:55:58 +0000 (09:55 +0000)
commit0af9ea538ef510a53eb79f4712a6cc6aa6b700ae
tree93a3ac5d6b1b438f6a2efc7e3acd0de2116d4f96
parent2e2fc369a7427525c0d891dc250bdedfba270e85
Modify incorrect conditional statements in OCParseSecurityPayload

Since, payload format changed as follows :

[ { rep: security payload } ]

to

{security payload}

We don't need check whether cbor value is a map.

Change-Id: I65912c4bacd9e33cee991d5ba37c8ae1b01d0f1d
Signed-off-by: leechul <chuls.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4511
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: dongik Lee <dongik.lee@samsung.com>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
(cherry picked from commit b663056e39e228bc1f6dbaad6d5d7335fccde6a0)
Reviewed-on: https://gerrit.iotivity.org/gerrit/4519
Reviewed-by: Habib Virji <habib.virji@samsung.com>
resource/csdk/stack/src/ocpayloadparse.c