From b270a453aa53deed01675bc19f1cb14b05c703d1 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 27 Jun 2020 23:05:47 +0200 Subject: Windows: remove unused code targeting Windows 2000. --- src/Common/BootEncryption.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/Common/BootEncryption.cpp') diff --git a/src/Common/BootEncryption.cpp b/src/Common/BootEncryption.cpp index e9566951..0a2afb12 100644 --- a/src/Common/BootEncryption.cpp +++ b/src/Common/BootEncryption.cpp @@ -5169,10 +5169,7 @@ namespace VeraCrypt #endif #ifndef SETUP void BootEncryption::CheckRequirements () - { - if (nCurrentOS == WIN_2000) - throw ErrorException ("SYS_ENCRYPTION_UNSUPPORTED_ON_CURRENT_OS", SRC_POS); - + { if (CurrentOSMajor == 6 && CurrentOSMinor == 0 && CurrentOSServicePack < 1) throw ErrorException ("SYS_ENCRYPTION_UNSUPPORTED_ON_VISTA_SP0", SRC_POS); -- cgit v1.2.3