summaryrefslogtreecommitdiffstats
path: root/src/img3.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-06-15 01:14:46 +0200
committerGravatar Nikias Bassen2013-06-15 01:14:46 +0200
commit0747f8e0c20fed69a53d4782530bc848e4e13b08 (patch)
treeb69e5f196d599eb990ee0d5b4c570c2c591e8b10 /src/img3.c
parent89078bb47ff20ea5de1d665272552fd16e8b2d18 (diff)
downloadidevicerestore-0747f8e0c20fed69a53d4782530bc848e4e13b08.tar.gz
idevicerestore-0747f8e0c20fed69a53d4782530bc848e4e13b08.tar.bz2
img3: don't fail if SHSH is appended (instead of replaced)
Diffstat (limited to 'src/img3.c')
-rw-r--r--src/img3.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/img3.c b/src/img3.c
index aea4ae7..bcac31a 100644
--- a/src/img3.c
+++ b/src/img3.c
@@ -333,10 +333,6 @@ int img3_replace_signature(img3_file* image, char* signature) {
image->idx_shsh_element = image->num_elements;
image->num_elements++;
}
-
- error("%s: ERROR: no SHSH element found to be replaced\n", __func__);
- img3_free_element(shsh);
- return -1;
}
if (image->idx_cert_element >= 0) {