VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-04-17 00:57:24 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-04-17 00:59:01 +0200
commite51aafb4997c05c0cd32d0b4024cfb055ed3e80f (patch)
treeb42949996cdd3edcc98790a19726445d21d9c492
parent133afdc9e6641fd5de9a2a703a02dc4903826a27 (diff)
downloadVeraCrypt-e51aafb4997c05c0cd32d0b4024cfb055ed3e80f.tar.gz
VeraCrypt-e51aafb4997c05c0cd32d0b4024cfb055ed3e80f.zip
Windows: fix keys parts not shown in system encryption wizard when the display keys checkbox is checked. This occurred when the "Display pool content" in the previous wizard page was unchecked before clicking Next.
-rw-r--r--src/Common/Volumes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Volumes.c b/src/Common/Volumes.c
index b7c77e9c..d69ef753 100644
--- a/src/Common/Volumes.c
+++ b/src/Common/Volumes.c
@@ -1005,7 +1005,7 @@ int CreateVolumeHeaderInMemory (HWND hwndDlg, BOOL bBoot, char *header, int ea,
#ifdef VOLFORMAT
- if (showKeys && !bInPlaceEncNonSys)
+ if (!bInPlaceEncNonSys && (showKeys || (bBoot && !masterKeydata)))
{
BOOL dots3 = FALSE;
int i, j;