Commit 758fc4ae authored by Aleksey's avatar Aleksey

[IOT-3140] Revert PSK callback at reset

Set default PSK callback after the reset of
secure resources

Change-Id: Ib4e768c7401247dc9dd4917ff5a611396e8e07a1
Signed-off-by: Aleksey's avatarAleksey Volkov <a.volkov@samsung.com>
parent b06614a7
......@@ -366,6 +366,10 @@ static bool EnterRESET(void)
// TODO [IOT-2633]:
VERIFY_SUCCESS(TAG, OC_STACK_OK == ResetSecureResources(), ERROR);
#if defined(__WITH_DTLS__) || defined(__WITH_TLS__)
VERIFY_SUCCESS(TAG, CA_STATUS_OK == CAregisterPskCredentialsHandler(GetDtlsPskCredentials), ERROR);
#endif // __WITH_DTLS__ or __WITH_TLS__
// Set doxm.deviceuuid = Mfr Default (handled above)
// Set doxm.sct = Mfr Default ("")
// Set doxm.oxmsel = Mfr Default ("")
......
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