summaryrefslogtreecommitdiffstats
path: root/src/recovery.c
diff options
context:
space:
mode:
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);
}
}