diff options
author | Jertzukka <Jertzukka@gmail.com> | 2024-04-10 11:44:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-10 10:44:01 +0200 |
commit | dc8d8ce404c6014ad58b61cb280ab36c070f6c75 (patch) | |
tree | 0e7a0065afa7e25aac0ac0b97c59817b115a6b1b | |
parent | afc62150742a328e91672fffd58f25df0fc3c814 (diff) | |
download | VeraCrypt-dc8d8ce404c6014ad58b61cb280ab36c070f6c75.tar.gz VeraCrypt-dc8d8ce404c6014ad58b61cb280ab36c070f6c75.zip |
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.
-rw-r--r-- | src/Main/TextUserInterface.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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; } } |