summaryrefslogtreecommitdiff
path: root/external/onlineupdate/unsigned-hack.patch
blob: 7ef3b76d73e6072a949877c6143c93a6fae4ad71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- onlineupdate/source/service/workmonitor.cpp
+++ onlineupdate/source/service/workmonitor.cpp
@@ -395,7 +395,7 @@
   }
 
 #ifndef DISABLE_UPDATER_AUTHENTICODE_CHECK
-  return DoesBinaryMatchAllowedCertificates(installDir, updater);
+  return DoesBinaryMatchAllowedCertificates(installDir, updater)||true;
 #else
   return true;
 #endif
@@ -732,7 +732,7 @@
           if (!WriteStatusFailure(argv[4], SERVICE_INSTALL_DIR_REG_ERROR)) {
             LOG_WARN(("Could not write update.status for previous failure."));
           }
-          return FALSE;
+          //return FALSE;
         }
         RegCloseKey(baseKey);
       } else {