VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-04-16 22:57:24 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-04-16 22:59:01 (GMT)
commite51aafb4997c05c0cd32d0b4024cfb055ed3e80f (patch)
treeb42949996cdd3edcc98790a19726445d21d9c492
parent133afdc9e6641fd5de9a2a703a02dc4903826a27 (diff)
downloadVeraCrypt-e51aafb4997c05c0cd32d0b4024cfb055ed3e80f.zip
VeraCrypt-e51aafb4997c05c0cd32d0b4024cfb055ed3e80f.tar.gz
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 b7c77e9..d69ef75 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;