summaryrefslogtreecommitdiffstats
path: root/src/restore.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2015-09-24 20:28:13 +0200
committerGravatar Nikias Bassen2015-09-24 20:28:13 +0200
commit60de516b05525cfd06a3df830b55b0af6b6f1344 (patch)
tree7a8255b94ef1930fc760efe9dd5384668cb86ece /src/restore.c
parenteb879c72e53585d55abbbf811d799b7ef43d1c02 (diff)
downloadidevicerestore-60de516b05525cfd06a3df830b55b0af6b6f1344.tar.gz
idevicerestore-60de516b05525cfd06a3df830b55b0af6b6f1344.tar.bz2
restore: Fix inverted comparison checking for ApImg4Ticket in TSS response
Diffstat (limited to 'src/restore.c')
-rw-r--r--src/restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c
index c81a7e4..4074d89 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -729,7 +729,7 @@ int restore_send_root_ticket(restored_client_t restore, struct idevicerestore_cl
}
if (client->image4supported) {
- if (!tss_response_get_ap_img4_ticket(client->tss, &data, &len) < 0) {
+ if (tss_response_get_ap_img4_ticket(client->tss, &data, &len) < 0) {
error("ERROR: Unable to get ApImg4Ticket from TSS\n");
return -1;
}