summaryrefslogtreecommitdiff
path: root/common/cmd_ximg.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_ximg.c')
-rw-r--r--common/cmd_ximg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_ximg.c b/common/cmd_ximg.c
index 02084b0..270e803 100644
--- a/common/cmd_ximg.c
+++ b/common/cmd_ximg.c
@@ -162,7 +162,7 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
/* verify integrity */
if (verify) {
- if (!fit_image_check_hashes(fit_hdr, noffset)) {
+ if (!fit_image_verify(fit_hdr, noffset)) {
puts("Bad Data Hash\n");
return 1;
}