commit 46ced3f7d2ca197b255fd97cf9f7cb576784edc0
parent c92b4d1bd74d2e129ed6d65996a1307b6efc3b98
Author: z3bra <contactatz3bradotorg>
Date: Wed, 2 Nov 2016 12:46:48 +0100
Ditch error reporting in tox_pass_decrypt()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);