summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratox.c b/ratox.c
index 62e76a1..918979a 100644
--- a/ratox.c
+++ b/ratox.c
@@ -1035,7 +1035,7 @@ reprompt1:
if (!encryptsavefile)
logmsg("Data : %s > Encrypted, but saving unencrypted\n", savefile);
while (readpass("Data : Passphrase > ", &passphrase, &pplen) < 0 ||
- !tox_pass_decrypt(data, sz, passphrase, pplen, toxopt.savedata_data));
+ !tox_pass_decrypt(data, sz, passphrase, pplen, toxopt.savedata_data, NULL));
} else {
if (memcpy(toxopt.savedata_data, data, sz) < sz)
eprintf("Data : %s > Failed to load\n", savefile);