summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorz3bra <contactatz3bradotorg>2016-11-02 12:46:48 +0100
committerz3bra <contactatz3bradotorg>2016-11-08 16:47:51 +0100
commit46ced3f7d2ca197b255fd97cf9f7cb576784edc0 (patch)
tree173e3730260d8118ffa8f9d5423902b8070c53b9 /ratox.c
parentc92b4d1bd74d2e129ed6d65996a1307b6efc3b98 (diff)
Ditch error reporting in tox_pass_decrypt()
Diffstat (limited to 'ratox.c')
-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);