[IOT-2726] Add pstat.dos check in AddCredential
authorAleksey Volkov <a.volkov@samsung.com>
Wed, 20 Sep 2017 13:33:27 +0000 (16:33 +0300)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Wed, 4 Oct 2017 23:35:40 +0000 (23:35 +0000)
commitadd093b173491fdf4bc4f9964e5dc956a96123fa
tree7c4f86f50126bdb9101adf8422755c08a50d70d8
parent7fbb1ac52b2c66305cc0039b6052001345235268
[IOT-2726] Add pstat.dos check in AddCredential

This change adds /pstat.dos state check to protect credentials modifications in read-only states.

Change-Id: I9a3402e458db8c5fa62a5a0fa0e08c1dd432ceaf
Signed-off-by: Aleksey Volkov <a.volkov@samsung.com>
resource/csdk/security/src/credresource.c