summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-11-20 18:28:27 +0100
committerGravatar Nikias Bassen2013-11-20 18:28:27 +0100
commit7573b788f55c67d4760af6d4e0ba1e8d95324151 (patch)
treebda99883acc28b3954c2d36cd6ae15834208d182 /src/idevicerestore.c
parent40c4885c31941e5a4af955e097a70d698a59ba64 (diff)
downloadidevicerestore-7573b788f55c67d4760af6d4e0ba1e8d95324151.tar.gz
idevicerestore-7573b788f55c67d4760af6d4e0ba1e8d95324151.tar.bz2
Don't request ApNonce again for image4 aware devices after loading iBEC
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r--src/idevicerestore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index d1db628..e5e46c5 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -813,7 +813,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client)
}
idevicerestore_progress(client, RESTORE_STEP_PREPARE, 0.5);
- if (client->build_major > 8) {
+ if (!client->image4supported && (client->build_major > 8)) {
// we need another tss request with nonce.
unsigned char* nonce = NULL;
int nonce_size = 0;