summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-11-20 13:16:51 +0100
committerGravatar Nikias Bassen2013-11-20 13:16:51 +0100
commit781e740ffb287960f3ecfb96ec66a545054d9b2a (patch)
tree0a1426d8071b0a7d2ea98fb616fc2ad6c0f16cf4
parentf02dcbe550e3e38a795f79ff4b37abba8d8899ac (diff)
downloadidevicerestore-781e740ffb287960f3ecfb96ec66a545054d9b2a.tar.gz
idevicerestore-781e740ffb287960f3ecfb96ec66a545054d9b2a.tar.bz2
img4: update tag for RestoreSEP when stitching
-rw-r--r--src/img4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/img4.c b/src/img4.c
index e18b419..ebe2ccd 100644
--- a/src/img4.c
+++ b/src/img4.c
@@ -100,6 +100,8 @@ int img4_stitch_component(const char* component_name, const unsigned char* compo
memcpy((char*)component_data+0xD, "rkrn", 4);
} else if (strcmp(component_name, "RestoreDeviceTree") == 0) {
memcpy((char*)component_data+0xD, "rdtr", 4);
+ } else if (strcmp(component_name, "RestoreSEP") == 0) {
+ memcpy((char*)component_data+0xD, "rsep", 4);
}
// create element header for the "IMG4" magic