From 46ced3f7d2ca197b255fd97cf9f7cb576784edc0 Mon Sep 17 00:00:00 2001 From: z3bra Date: Wed, 2 Nov 2016 12:46:48 +0100 Subject: Ditch error reporting in tox_pass_decrypt() --- ratox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratox.c') 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); -- cgit v1.2.3