From 190473b75b1f0f142cf878f79d19ae53e0cf8146 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 10 Apr 2022 00:09:08 +0200 Subject: restore: Fixed a problem that nobody even knew existed At least this has been going unnoticed until recently. For quite some time we have been sending NorImageData as array to the device, but it turned out that this was only expected for iOS < 7.0 and from then on it was supposed to be a dictionary with the components. Now we should correctly handle it. --- src/restore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/restore.h') diff --git a/src/restore.h b/src/restore.h index c93e325..ad3b721 100644 --- a/src/restore.h +++ b/src/restore.h @@ -53,7 +53,7 @@ const char* restore_progress_string(unsigned int operation); int restore_handle_status_msg(restored_client_t client, plist_t msg); int restore_handle_progress_msg(struct idevicerestore_client_t* client, plist_t msg); int restore_handle_data_request_msg(struct idevicerestore_client_t* client, idevice_t device, restored_client_t restore, plist_t message, plist_t build_identity, const char* filesystem); -int restore_send_nor(restored_client_t restore, struct idevicerestore_client_t* client, plist_t build_identity); +int restore_send_nor(restored_client_t restore, struct idevicerestore_client_t* client, plist_t build_identity, plist_t message); int restore_send_root_ticket(restored_client_t restore, struct idevicerestore_client_t* client); int restore_send_component(restored_client_t restore, struct idevicerestore_client_t* client, plist_t build_identity, const char* component, const char* component_name); int restore_device(struct idevicerestore_client_t* client, plist_t build_identity, const char* filesystem); -- cgit v1.1-32-gdbae