[IOT-2387][IOT-2479] Fix RESET behavior
authorNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Tue, 15 Aug 2017 08:02:28 +0000 (01:02 -0700)
committerRandeep Singh <randeep.s@samsung.com>
Tue, 5 Sep 2017 10:55:17 +0000 (10:55 +0000)
commitb5e53318541a9ffd9474358ca9e013675705ac51
tree41997a43efd668ee2b5aeb0109fc8ad791a93f63
parent9216495d4b1468e22b651f6036c7ffd97894e0fb
[IOT-2387][IOT-2479] Fix RESET behavior

This fixes the Device Onboarding State logic, but still omits the
ResetSecureResources() call because it's causing a crash.

That issue is being tracked separately in IOT-2633, and can
be fixed in a separate patch.

Change-Id: Iebeafc1cfb34a9c009ec4d59e4c74838838c950d
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21913
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Mushfiqul Islam <i.mushfiq@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/include/internal/resourcemanager.h
resource/csdk/security/src/deviceonboardingstate.c
resource/csdk/security/src/pstatresource.c
resource/csdk/security/src/resourcemanager.c