summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {