summaryrefslogtreecommitdiff
path: root/common/cmd_source.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_source.c')
-rw-r--r--common/cmd_source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_source.c b/common/cmd_source.c
index f0d7f52..a440614 100644
--- a/common/cmd_source.c
+++ b/common/cmd_source.c
@@ -127,7 +127,7 @@ source (ulong addr, const char *fit_uname)
/* 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;
}