Modify incorrect conditional statements in OCParseSecurityPayload
authorleechul <chuls.lee@samsung.com>
Fri, 11 Dec 2015 01:41:03 +0000 (10:41 +0900)
committerSachin Agrawal <sachin.agrawal@intel.com>
Fri, 11 Dec 2015 05:40:33 +0000 (05:40 +0000)
commitb663056e39e228bc1f6dbaad6d5d7335fccde6a0
treec38289fe02ab8ed75ab97b1a182ab7858dfd252b
parent488a5167cf9f58b1b7b22d3019b2769cf37fc779
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>
resource/csdk/stack/src/ocpayloadparse.c