Remove code for skip verify certificate during reinstall mode
authorJihoon Chung <jihoon.chung@samsung.com>
Sun, 31 Mar 2013 07:28:15 +0000 (16:28 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Thu, 2 May 2013 12:08:07 +0000 (21:08 +0900)
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove comment out code which is skipped verify certificate
when install mode is reinstall.
[SCMRequest] N/A

Change-Id: I3a8356616f112737fa7aafb8105b04a96955b410

src/jobs/widget_install/task_certify.cpp

index cddc237..edf9f1d 100644 (file)
@@ -253,13 +253,9 @@ void TaskCertify::stepSignature()
 
             result = validator.check(data, widgetPath);
 
-            if (m_contextData.widgetConfig.packagingType ==
-                WrtDB::PKG_TYPE_DIRECTORY_WEB_APP ||
-                m_contextData.mode.installTime ==
-                InstallMode::InstallTime::PRELOAD)
+            if (m_contextData.mode.installTime
+                ==  InstallMode::InstallTime::PRELOAD)
             {
-                // In directory installation mode, the validation is skipped.
-
                 result = WrtSignatureValidator::SIGNATURE_VERIFIED;
             }