VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-01-21 19:00:18 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-01-21 19:00:18 +0100
commitc2582cc9a199b606835e8cdbf37991778efede4a (patch)
treeebd7da5a74785971acf9c75288b0e8f0fd7b0d59
parenta0a048928cdc55bfc8fb1830c2f282b3de752d41 (diff)
downloadVeraCrypt-DCS-c2582cc9a199b606835e8cdbf37991778efede4a.tar.gz
VeraCrypt-DCS-c2582cc9a199b606835e8cdbf37991778efede4a.zip
Disable the watchdog time in the main bootloader
-rw-r--r--DcsBoot/DcsBoot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/DcsBoot/DcsBoot.c b/DcsBoot/DcsBoot.c
index 664afaa..e013dea 100644
--- a/DcsBoot/DcsBoot.c
+++ b/DcsBoot/DcsBoot.c
@@ -165,6 +165,7 @@ DcsBootMain(
EfiSetVar(L"DcsExecPartGuid", NULL, &ImagePartGuid, sizeof(EFI_GUID), EFI_VARIABLE_BOOTSERVICE_ACCESS);
EfiSetVar(L"DcsExecCmd", NULL, gEfiExecCmdDefault, (StrLen(gEfiExecCmdDefault) + 1) * 2, EFI_VARIABLE_BOOTSERVICE_ACCESS);
// Authorize
+ gBS->SetWatchdogTimer(0, 0, 0, NULL);
res = EfiExec(NULL, L"\\EFI\\VeraCrypt\\DcsInt.dcs");
if (EFI_ERROR(res)) {
// ERR_PRINT(L"\nDcsInt.efi %r\n",res);