Fix for issue of CA don't check the invalid CAResponseInfo_t.result.
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Fri, 29 May 2015 01:06:13 +0000 (10:06 +0900)
committerErich Keane <erich.keane@intel.com>
Fri, 29 May 2015 16:11:04 +0000 (16:11 +0000)
commite6baf87037ad8d10d8506a59c8a00b5278278c97
tree4a843efc1223e403fb2347bf35fef15ae14f41fd
parent0132ba38de77c51b3d0a5fa50d953a61533b8357
Fix for issue of CA don't check the invalid CAResponseInfo_t.result.

currently, CA don't check the value of CAResponseInfo_t.result.
so I add the logic which CA check whether CAResponseInfo_t.result
is valid value.
This issue is related to IOT-385, IOT-386.

Change-Id: I8fdb7bc021c2b294b068d202a5bd6d5131d1904d
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1133
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: John Light <john.j.light@intel.com>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/src/caremotehandler.c