office-gobmx/external/onlineupdate/unsigned-hack.patch
Stephan Bergmann bd2204b1ea Workaround for --disable-windows-build-signing --enable-dbgutil test builds
Change-Id: I8c14cfafd39b8575a5e1e236f965283718777416
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161663
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-05 15:33:32 +01:00

20 lines
639 B
Diff

--- 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 {