diff options
author | Oleksii Beketov <ol.beketov@samsung.com> | 2019-08-05 13:55:24 +0300 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2019-10-14 10:22:06 +0900 |
commit | e461e86faddf2569f6c635e9f867cad86dffc7c6 (patch) | |
tree | 7797d90dd64ab704d4ac6fa72eaedf247d136c6b /resource | |
parent | d9297879805a989c923e38c2bf286c0f6e907066 (diff) | |
download | iotivity-tizen_5.5_mobile_hotfix.tar.gz iotivity-tizen_5.5_mobile_hotfix.tar.bz2 iotivity-tizen_5.5_mobile_hotfix.zip |
CONPRO-1467: Improve Resettizen_5.5.m2_releasesubmit/tizen_5.5_mobile_hotfix/20201026.185107submit/tizen_5.5/20191031.000007submit/tizen/20191014.014400accepted/tizen/unified/20191015.011920accepted/tizen/5.5/unified/mobile/hotfix/20201027.074315accepted/tizen/5.5/unified/20191031.011923tizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_mobile_hotfix
Enable complete SVR DB reset on OTM error.
Recently, only pstat and doxm resources has been reset.
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/552
(cherry-picked from 8c20c75f22a5e81c9c7814eaf18e5f7c73aca7b6)
Change-Id: I18a7a2accd82c51a57e14cd65b91431d5b5b84eb
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Diffstat (limited to 'resource')
-rw-r--r-- | resource/csdk/security/src/doxmresource.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/resource/csdk/security/src/doxmresource.c b/resource/csdk/security/src/doxmresource.c index eb554043c..d8b450648 100644 --- a/resource/csdk/security/src/doxmresource.c +++ b/resource/csdk/security/src/doxmresource.c @@ -1778,8 +1778,7 @@ exit: InvokeOtmEventHandler(ehRequest->devAddr.addr, ehRequest->devAddr.port, NULL, OIC_OTM_ERROR); #endif - RestoreDoxmToInitState(); - RestorePstatToInitState(); + ResetSecureResourceInPS(); OIC_LOG(WARNING, TAG, "DOXM will be reverted."); } } |