summaryrefslogtreecommitdiffstats
path: root/src/recovery.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-11-19 22:04:30 +0100
committerGravatar Nikias Bassen2013-11-19 22:04:30 +0100
commit669ac822c564c5a6358daa7a49f6d0b336591558 (patch)
treed43ba8b1d4bb3c7008b483fc8f1896f41797fdb1 /src/recovery.c
parent26f34f031287b232b45df00e566c356fb95c399a (diff)
downloadidevicerestore-669ac822c564c5a6358daa7a49f6d0b336591558.tar.gz
idevicerestore-669ac822c564c5a6358daa7a49f6d0b336591558.tar.bz2
tss: Refactor TSS handlers for Image4 support and flexibility
Diffstat (limited to 'src/recovery.c')
-rw-r--r--src/recovery.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}