diff options
Diffstat (limited to 'src/Common/Format.c')
-rw-r--r-- | src/Common/Format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Format.c b/src/Common/Format.c index 17b29ec6..b67ac511 100644 --- a/src/Common/Format.c +++ b/src/Common/Format.c @@ -801,7 +801,7 @@ int FormatNoFs (HWND hwndDlg, unsigned __int64 startSector, __int64 num_sectors, if (retVal != ERR_SUCCESS) goto fail; - if (!EAInitMode (cryptoInfo)) + if (!EAInitMode (cryptoInfo, cryptoInfo->k2)) { retVal = ERR_MODE_INIT_FAILED; goto fail; @@ -829,7 +829,7 @@ int FormatNoFs (HWND hwndDlg, unsigned __int64 startSector, __int64 num_sectors, retVal = EAInit (cryptoInfo->ea, cryptoInfo->master_keydata, cryptoInfo->ks); if (retVal != ERR_SUCCESS) goto fail; - if (!EAInitMode (cryptoInfo)) + if (!EAInitMode (cryptoInfo, cryptoInfo->k2)) { retVal = ERR_MODE_INIT_FAILED; goto fail; |