[IOT-2821] Fix /doxm Update handling 51/22951/7
authorNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Sun, 22 Oct 2017 23:27:25 +0000 (16:27 -0700)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Mon, 23 Oct 2017 21:02:03 +0000 (21:02 +0000)
commitb7ed1c3855eb9c294d81e440b0146000a085aaa3
tree5ab0de1801a0b658ea6da268385ddee155c7d54d
parentb2aff896db2809f9d9cd8dac88f3453ee52079bd
[IOT-2821] Fix /doxm Update handling

The Update handler is still doing things such as
self-updating /doxm.rowneruuid or /doxm.owned.  Also, the
logic for determining OTM start/stop is wrong.  This patch
cleans up the JustWorks flow as a template, and the same
fix will be applied to Random PIN and Cert-based once
verified and reviewed.

Change-Id: Ieb68911de87cf816597352aec760b3ef85baa87d
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
resource/csdk/security/src/doxmresource.c