Replace StepRegisterTrustAnchor into StepRecoverTrustAnchor 23/186123/3
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 7 Aug 2018 10:33:35 +0000 (19:33 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 13 Aug 2018 00:51:02 +0000 (00:51 +0000)
Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/186122

Change-Id: Ief86c915f079415ec71f8378aba70a3e51666f13
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/tpk/tpk_installer.cc

index 44ecb88..4fe71cf 100644 (file)
@@ -84,6 +84,7 @@
 #include <common/step/security/step_rollback_installation_security.h>
 #include <common/step/security/step_save_signature.h>
 #include <common/step/security/step_update_security.h>
+#include <common/step/security/step_recover_trust_anchor.h>
 #include <common/step/security/step_register_trust_anchor.h>
 #include <common/step/security/step_revoke_trust_anchor.h>
 #include <common/step/security/step_unregister_trust_anchor.h>
@@ -374,8 +375,7 @@ void TpkInstaller::RecoverySteps() {
   AddStep<ci::filesystem::StepRecoverChangeOwner>();
   AddStep<ci::security::StepRecoverSecurity>();
   AddStep<ci::pkgmgr::StepRecoverApplication>();
-  AddStep<ci::security::StepRegisterTrustAnchor>(
-    ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
+  AddStep<ci::security::StepRecoverTrustAnchor>();
 }
 
 void TpkInstaller::MountInstallSteps() {