diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-06-22 20:28:33 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-06-24 01:15:23 +0200 |
commit | eb22f70065df7001a70b1d04c42ca1c71d1c0efc (patch) | |
tree | f4a61d801d21384419755c22b555a9074393b76c /src/Setup | |
parent | 22b9ca94b3b863c734d3733f235383b8388d61ee (diff) | |
download | VeraCrypt-eb22f70065df7001a70b1d04c42ca1c71d1c0efc.tar.gz VeraCrypt-eb22f70065df7001a70b1d04c42ca1c71d1c0efc.zip |
Windows: in DEBUG mode, disable verification to Authenticode signature of binaries.
Diffstat (limited to 'src/Setup')
-rw-r--r-- | src/Setup/SelfExtract.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) |