summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-11-20 13:16:02 +0100
committerGravatar Nikias Bassen2013-11-20 13:16:02 +0100
commitf02dcbe550e3e38a795f79ff4b37abba8d8899ac (patch)
treef34b76cbb2ce7ca915df868f1b0beb02260b61ee
parentf71023876665c884b983f6c82d73948f5baa2831 (diff)
downloadidevicerestore-f02dcbe550e3e38a795f79ff4b37abba8d8899ac.tar.gz
idevicerestore-f02dcbe550e3e38a795f79ff4b37abba8d8899ac.tar.bz2
dfu: fix sending iBEC for Image4 aware devices
-rw-r--r--src/dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfu.c b/src/dfu.c
index 6050ed0..c580c72 100644
--- a/src/dfu.c
+++ b/src/dfu.c
@@ -197,7 +197,7 @@ int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_ide
free(component_data);
component_data = NULL;
- if (!(client->flags & FLAG_CUSTOM) && (strcmp(component, "iBEC") == 0)) {
+ if (!client->image4supported && !(client->flags & FLAG_CUSTOM) && (strcmp(component, "iBEC") == 0)) {
unsigned char* ticket = NULL;
unsigned int tsize = 0;
if (tss_response_get_ap_ticket(client->tss, &ticket, &tsize) < 0) {