summaryrefslogtreecommitdiffstats
path: root/src/img3.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-07-09 03:36:18 +0200
committerGravatar Martin Szulecki2010-07-09 03:36:18 +0200
commitd1a5f28e6d1a3b7a24e406a215b4037dd68d41c9 (patch)
tree06218e15290ea324f2237c62e53020053ab9de85 /src/img3.h
parentb472d5347406fc24e9e489b5493dd6bf134dc92c (diff)
downloadidevicerestore-d1a5f28e6d1a3b7a24e406a215b4037dd68d41c9.tar.gz
idevicerestore-d1a5f28e6d1a3b7a24e406a215b4037dd68d41c9.tar.bz2
Implement handling unknown img3 element for 8900 chip devices
Diffstat (limited to 'src/img3.h')
-rw-r--r--src/img3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/img3.h b/src/img3.h
index 796a8e1..cb042b5 100644
--- a/src/img3.h
+++ b/src/img3.h
@@ -45,7 +45,8 @@ typedef enum {
kVersElement = 0x56455253, // VERS
kBordElement = 0x424F5244, // BORD
kSepoElement = 0x5345504F, // SEPO
- kEcidElement = 0x45434944 // ECID
+ kEcidElement = 0x45434944, // ECID
+ kUnknElement = 0x53414c54 // FIXME
} img3_element_type;
typedef struct {
@@ -81,6 +82,7 @@ typedef struct {
img3_element* ecid_element;
img3_element* shsh_element;
img3_element* cert_element;
+ img3_element* unkn_element;
} img3_file;
void img3_free(img3_file* image);