Fix failure to respond when SRM says Access Denied.
authorMandeep Shetty <mandeep.shetty@intel.com>
Thu, 9 Jul 2015 17:15:11 +0000 (10:15 -0700)
committerSachin Agrawal <sachin.agrawal@intel.com>
Thu, 9 Jul 2015 17:51:17 +0000 (17:51 +0000)
commit6c0b743a141fbb7574c8c0d5fa26a5ccef154300
tree2f9be10a4bf79c05699bea8327eb8707d1150ae2
parent875a3573452107d2c065d61026b1cd98b0132cb0
Fix failure to respond when SRM says Access Denied.

The enum types for forbidden request and unauthorized request in
CAResponseResult_t added as part of security where misisng in a sanity
check switch case. This caused the forbidden and unauthorized response
codes to be classified as invalid.

Change-Id: Idc53a50422e3d5e43a847395a2389da351ea6baf
Signed-off-by: Mandeep Shetty <mandeep.shetty@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1610
Reviewed-by: Erich Keane <erich.keane@intel.com>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
Tested-by: Sachin Agrawal <sachin.agrawal@intel.com>
resource/csdk/connectivity/common/src/caremotehandler.c