VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/CommandLineInterface.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2025-01-23 17:18:57 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2025-01-23 17:18:57 +0100
commiteeebbf74f9378e914116c1549ee3b2d4a62d5abb (patch)
tree4abf6425d21d72dc4d8a460e45e60c6a120534b1 /src/Main/CommandLineInterface.cpp
parent16aa1a7be0f3387f9fcf1589a37e2614eb7be14c (diff)
downloadVeraCrypt-eeebbf74f9378e914116c1549ee3b2d4a62d5abb.tar.gz
VeraCrypt-eeebbf74f9378e914116c1549ee3b2d4a62d5abb.zip
macOS: fix wxWidgets 3.2.6 assert for undefined switch use-dummy-sudo-password (GH #1470)
Diffstat (limited to 'src/Main/CommandLineInterface.cpp')
-rw-r--r--src/Main/CommandLineInterface.cpp2
1 files changed, 2 insertions, 0 deletions
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");