diff options
author | Nikias Bassen | 2015-09-24 20:28:13 +0200 |
---|---|---|
committer | Nikias Bassen | 2015-09-24 20:28:13 +0200 |
commit | 60de516b05525cfd06a3df830b55b0af6b6f1344 (patch) | |
tree | 7a8255b94ef1930fc760efe9dd5384668cb86ece /src | |
parent | eb879c72e53585d55abbbf811d799b7ef43d1c02 (diff) | |
download | idevicerestore-60de516b05525cfd06a3df830b55b0af6b6f1344.tar.gz idevicerestore-60de516b05525cfd06a3df830b55b0af6b6f1344.tar.bz2 |
restore: Fix inverted comparison checking for ApImg4Ticket in TSS response
Diffstat (limited to 'src')
-rw-r--r-- | src/restore.c | 2 |
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; } |