From 669ac822c564c5a6358daa7a49f6d0b336591558 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 19 Nov 2013 22:04:30 +0100 Subject: tss: Refactor TSS handlers for Image4 support and flexibility --- src/recovery.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/recovery.c') diff --git a/src/recovery.c b/src/recovery.c index 9221dda..518b0b8 100644 --- a/src/recovery.c +++ b/src/recovery.c @@ -236,7 +236,7 @@ int recovery_send_ticket(struct idevicerestore_client_t* client) unsigned char* data = NULL; uint32_t size = 0; - if (tss_get_ticket(client->tss, &data, &size) < 0) { + if (tss_response_get_ap_ticket(client->tss, &data, &size) < 0) { error("ERROR: Unable to get ApTicket from TSS request\n"); return -1; } @@ -267,7 +267,7 @@ int recovery_send_component(struct idevicerestore_client_t* client, plist_t buil irecv_error_t err = 0; if (client->tss) { - if (tss_get_entry_path(client->tss, component, &path) < 0) { + if (tss_response_get_path_by_entry(client->tss, component, &path) < 0) { debug("NOTE: No path for component %s in TSS, will fetch from build_identity\n", component); } } -- cgit v1.1-32-gdbae