summaryrefslogtreecommitdiffstats
path: root/src/recovery.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-07-14 04:13:37 +0200
committerGravatar Martin Szulecki2010-07-14 04:13:37 +0200
commit50c1616ff66ccb4e674405659cb2e6f8207bc915 (patch)
treee1aaa4a7c9dec9d02fc6956b2c0bc94e7b8b8471 /src/recovery.c
parent38b8439c0b9b4b64aae1c812da322146d0843446 (diff)
downloadidevicerestore-50c1616ff66ccb4e674405659cb2e6f8207bc915.tar.gz
idevicerestore-50c1616ff66ccb4e674405659cb2e6f8207bc915.tar.bz2
Refactor tss request requirements to work with iPhone 3G and iOS 4
This gets rid of the device model checking code and allows devices like the iPhone 3G to get shsh blobs as required by iOS 4. The requirement if the components need to be signed is determined by which kind of manifest filename is within the IPSW.
Diffstat (limited to 'src/recovery.c')
-rw-r--r--src/recovery.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/recovery.c b/src/recovery.c
index 015e9ac..28256b5 100644
--- a/src/recovery.c
+++ b/src/recovery.c
@@ -228,6 +228,9 @@ int recovery_send_component(struct idevicerestore_client_t* client, plist_t buil
info("Resetting recovery mode connection...\n");
irecv_reset(client->recovery->client);
+ if (client->tss)
+ info("%s will be signed\n", component);
+
if (ipsw_get_component_by_path(client->ipsw, client->tss, path, &data, &size) < 0) {
error("ERROR: Unable to get component: %s\n", component);
free(path);