VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2021-08-29 15:19:10 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2021-08-30 00:26:42 +0200
commitd33c5b6f0846dfe34ac4b2ecc1348897607e0faf (patch)
tree653499f3db8b688a090f6fdc42e95889aeafcf47 /src
parent78c2fe2562982db6045af9defb0fb4469bc43a5a (diff)
downloadVeraCrypt-d33c5b6f0846dfe34ac4b2ecc1348897607e0faf.tar.gz
VeraCrypt-d33c5b6f0846dfe34ac4b2ecc1348897607e0faf.zip
Windows: Set minimal supported version to Windows 8 since our driver is now signed only SHA256
Diffstat (limited to 'src')
-rw-r--r--src/Common/Dlgcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index a23b01a3..17b92b8a 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -3206,8 +3206,8 @@ void InitApp (HINSTANCE hInstance, wchar_t *lpszCommandLine)
RemoteSession = GetSystemMetrics (SM_REMOTESESSION) != 0;
- // OS version check
- if (CurrentOSMajor < 5)
+ // OS version check: from version 1.25, only Windows 8 and newer is supported
+ if (!IsOSVersionAtLeast(WIN_8, 0))
{
MessageBoxW (NULL, GetString ("UNSUPPORTED_OS"), lpszTitle, MB_ICONSTOP);
exit (1);