From dc8d8ce404c6014ad58b61cb280ab36c070f6c75 Mon Sep 17 00:00:00 2001 From: Jertzukka Date: Wed, 10 Apr 2024 11:44:01 +0300 Subject: Unix CLI: Don't initially re-ask PIM if it was already specified (#1288) We don't need to reset PIM in PasswordException as it is immediately fell back to if PIM is specified in text mode, but password is not. This causes an exception that resets the PIM when it shouldn't. --- src/Main/TextUserInterface.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/Main') diff --git a/src/Main/TextUserInterface.cpp b/src/Main/TextUserInterface.cpp index 7b79478f..0de76c6b 100644 --- a/src/Main/TextUserInterface.cpp +++ b/src/Main/TextUserInterface.cpp @@ -1409,7 +1409,6 @@ namespace VeraCrypt { ShowInfo (e); options.Password.reset(); - options.Pim = -1; } } -- cgit v1.2.3