From eb22f70065df7001a70b1d04c42ca1c71d1c0efc Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 22 Jun 2018 20:28:33 +0200 Subject: Windows: in DEBUG mode, disable verification to Authenticode signature of binaries. --- src/Setup/SelfExtract.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Setup') diff --git a/src/Setup/SelfExtract.c b/src/Setup/SelfExtract.c index 2a3a8b29..cf825104 100644 --- a/src/Setup/SelfExtract.c +++ b/src/Setup/SelfExtract.c @@ -401,14 +401,12 @@ BOOL VerifyPackageIntegrity (const wchar_t *path) unsigned char *tmpBuffer; int tmpFileSize; -#ifdef NDEBUG // verify Authenticode digital signature of the exe file if (!VerifyModuleSignature (path)) { Error ("DIST_PACKAGE_CORRUPTED", NULL); return FALSE; } -#endif fileDataEndPos = (int) FindStringInFile (path, MagEndMarker, strlen (MagEndMarker)); if (fileDataEndPos < 0) -- cgit v1.2.3