image: Rename fit_image_check_hashes() to fit_image_verify()
[oweals/u-boot.git] / common / cmd_ximg.c
index 02084b0204008b57f0ba2b96664a1a281f159c41..270e8030992c3c4d2d4283b8957f07d82e34d252 100644 (file)
@@ -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;
                        }