summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-09-14 00:10:43 +0200
committerGravatar Nikias Bassen2023-09-14 00:10:43 +0200
commit5a00bbd88790c2542233906c458473190b41da33 (patch)
tree271d6d76f237b90fa2b0bd3b242a3ab7db6c658a /src
parent7943b63d3884b58169251926de03197bd510afe9 (diff)
downloadidevicerestore-5a00bbd88790c2542233906c458473190b41da33.tar.gz
idevicerestore-5a00bbd88790c2542233906c458473190b41da33.tar.bz2
tss: Make missing ApNonce non-fatal for IMG3
For IMG3 devices, DFU does not provide ApNonce, but a valid SHSH is needed to boot into iBSS (which then does provide ApNonce). Thanks to @tihmstar for providing the fix!
Diffstat (limited to 'src')
-rw-r--r--src/tss.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tss.c b/src/tss.c
index b8af70f..0fa1740 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -316,8 +316,7 @@ int tss_request_add_ap_img3_tags(plist_t request, plist_t parameters)
}
if (_plist_dict_copy_data(request, parameters, "ApNonce", NULL) < 0) {
- error("ERROR: Unable to find required ApNonce in parameters\n");
- return -1;
+ error("WARNING: Unable to find ApNonce in parameters\n");
}
plist_dict_set_item(request, "@APTicket", plist_new_bool(1));