diff options
author | Nikias Bassen | 2012-02-02 21:56:09 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-02-02 21:56:09 +0100 |
commit | dc69608d4131a3d8bfe7710ed88ea679087b037f (patch) | |
tree | 6535feef174a33807b5e3e704b1442aae9184c22 /src/img3.h | |
parent | 4852a4301af71a99f3ba7e0bc23599a8ea763cc6 (diff) | |
download | idevicerestore-dc69608d4131a3d8bfe7710ed88ea679087b037f.tar.gz idevicerestore-dc69608d4131a3d8bfe7710ed88ea679087b037f.tar.bz2 |
img3: fixed to properly support new img3 format
Diffstat (limited to 'src/img3.h')
-rw-r--r-- | src/img3.h | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -72,17 +72,25 @@ typedef struct { typedef struct { char* data; img3_header* header; - img3_element* type_element; + int num_elements; + img3_element* elements[16]; + int idx_ecid_element; + int idx_shsh_element; + int idx_cert_element; +/* img3_element* type_element; img3_element* data_element; img3_element* vers_element; img3_element* sepo_element; img3_element* bord_element; + img3_element* sepo2_element; + img3_element* chip_element; + img3_element* bord2_element; img3_element* kbag1_element; img3_element* kbag2_element; img3_element* ecid_element; img3_element* shsh_element; img3_element* cert_element; - img3_element* unkn_element; + img3_element* unkn_element;*/ } img3_file; void img3_free(img3_file* image); |