mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-09 01:56:35 -05:00
Windows: in DEBUG mode, disable verification to Authenticode signature of binaries.
This commit is contained in:
2 files changed
+5
-3
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user