Commit 28f70137 authored by Aleksey's avatar Aleksey

[IOT-3140] Enable ResetSecureResources

Uncomment ResetSecureResources call on transition reset state.
This will return the proper state of the security resources
after reset.

Change-Id: I5d43bc1e950811bbabceb1f42fd8cdcae31f87d0
Signed-off-by: Aleksey's avatarAleksey Volkov <a.volkov@samsung.com>
parent 455c1369
......@@ -363,7 +363,8 @@ static bool EnterRESET(void)
// SVRs (e.g. the hard-coded SVRs in IoTivity) or it could be a backup
// copy of the initally-provisioned SVRs (e.g. the ResetSecureResourceInPS
// function in IoTivity).
// TODO [IOT-2633]: VERIFY_SUCCESS(TAG, OC_STACK_OK == ResetSecureResources(), ERROR);
// TODO [IOT-2633]:
VERIFY_SUCCESS(TAG, OC_STACK_OK == ResetSecureResources(), ERROR);
// Set doxm.deviceuuid = Mfr Default (handled above)
// Set doxm.sct = Mfr Default ("")
......
......@@ -140,6 +140,7 @@ OCStackResult DestroySecureResources( )
DeInitRolesResource();
#endif // __WITH_DTLS__ || __WITH_TLS__
DeInitAmaclResource();
DeInitSpResource();
OIC_LOG_V(DEBUG, TAG, "OUT %s", __func__);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment