From eeebbf74f9378e914116c1549ee3b2d4a62d5abb Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Thu, 23 Jan 2025 17:18:57 +0100 Subject: macOS: fix wxWidgets 3.2.6 assert for undefined switch use-dummy-sudo-password (GH #1470) --- src/Main/CommandLineInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Main/CommandLineInterface.cpp') diff --git a/src/Main/CommandLineInterface.cpp b/src/Main/CommandLineInterface.cpp index 9994e450..06815ca9 100644 --- a/src/Main/CommandLineInterface.cpp +++ b/src/Main/CommandLineInterface.cpp @@ -380,7 +380,9 @@ namespace VeraCrypt ArgDisableFileSizeCheck = parser.Found (L"no-size-check"); ArgUseLegacyPassword = parser.Found (L"legacy-password-maxlength"); +#if defined(TC_LINUX ) || defined (TC_FREEBSD) ArgUseDummySudoPassword = parser.Found (L"use-dummy-sudo-password"); +#endif #if defined(TC_UNIX) ArgAllowInsecureMount = parser.Found (L"allow-insecure-mount"); -- cgit v1.2.3