mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-11 10:59:56 -05:00
Window: fix regression that caused only a single keyfile to be taken into account.
This commit is contained in:
1 parent
7fee9a04c4
commit
89d238bb32
1 file changed
+3
-1
@@ -129,7 +129,9 @@ void KeyFileCloneAll (KeyFile *firstKeyFile, KeyFile **outputKeyFile)
|
|||||||
KeyFile *cloneFirstKeyFile = KeyFileClone (firstKeyFile);
|
KeyFile *cloneFirstKeyFile = KeyFileClone (firstKeyFile);
|
||||||
KeyFile *kf;
|
KeyFile *kf;
|
||||||
|
|
||||||
KeyFileRemoveAll (outputKeyFile);
|
// free output only if different from input
|
||||||
|
if (*outputKeyFile != firstKeyFile)
|
||||||
|
KeyFileRemoveAll (outputKeyFile);
|
||||||
if (firstKeyFile)
|
if (firstKeyFile)
|
||||||
{
|
{
|
||||||
kf = firstKeyFile->Next;
|
kf = firstKeyFile->Next;
|
||||||
|
|||||||
Reference in new issue
Block a user