mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Window: fix regression that caused only a single keyfile to be taken into account.
This commit is contained in:
@@ -129,6 +129,8 @@ void KeyFileCloneAll (KeyFile *firstKeyFile, KeyFile **outputKeyFile)
|
|||||||
KeyFile *cloneFirstKeyFile = KeyFileClone (firstKeyFile);
|
KeyFile *cloneFirstKeyFile = KeyFileClone (firstKeyFile);
|
||||||
KeyFile *kf;
|
KeyFile *kf;
|
||||||
|
|
||||||
|
// free output only if different from input
|
||||||
|
if (*outputKeyFile != firstKeyFile)
|
||||||
KeyFileRemoveAll (outputKeyFile);
|
KeyFileRemoveAll (outputKeyFile);
|
||||||
if (firstKeyFile)
|
if (firstKeyFile)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user