VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-12-27 18:11:33 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-12-28 23:27:43 +0100
commita27792cfcf46ae1203e47eecd9af4c6ac93fc796 (patch)
tree56bb5afcd6364a43cf95ea600b66e41f3928b7f2
parente18f3cf381223680973b5161b97312b4f12f9426 (diff)
downloadVeraCrypt-a27792cfcf46ae1203e47eecd9af4c6ac93fc796.tar.gz
VeraCrypt-a27792cfcf46ae1203e47eecd9af4c6ac93fc796.zip
Windows: Add possibility to choose 1-pass wipe mode in all cases without changing the default wipe mode.
-rw-r--r--src/Common/Dlgcode.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index 3eb4e69d..7bb840cb 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -1626,12 +1626,10 @@ void PopulateWipeModeCombo (HWND hComboBox, BOOL bNA, BOOL bInPlaceEncryption, B
{
if (!bHeaderWipe)
{
- if (bInPlaceEncryption)
- AddComboPairW (hComboBox, GetString ("WIPE_MODE_NONE"), TC_WIPE_NONE);
- else
- AddComboPairW (hComboBox, GetString ("WIPE_MODE_1_RAND"), TC_WIPE_1_RAND);
+ AddComboPairW (hComboBox, GetString ("WIPE_MODE_NONE"), TC_WIPE_NONE);
}
+ AddComboPairW (hComboBox, GetString ("WIPE_MODE_1_RAND"), TC_WIPE_1_RAND);
AddComboPairW (hComboBox, GetString ("WIPE_MODE_3_DOD_5220"), TC_WIPE_3_DOD_5220);
AddComboPairW (hComboBox, GetString ("WIPE_MODE_7_DOD_5220"), TC_WIPE_7_DOD_5220);
AddComboPairW (hComboBox, GetString ("WIPE_MODE_35_GUTMANN"), TC_WIPE_35_GUTMANN);