image: Support signing of images
[kernel/u-boot.git] / tools / fit_image.c
index cc123dd..ef6ef44 100644 (file)
@@ -137,7 +137,7 @@ static int fit_handle_file (struct mkimage_params *params)
                goto err_mmap;
 
        /* set hashes for images in the blob */
-       if (fit_add_verification_data(ptr)) {
+       if (fit_add_verification_data(NULL, NULL, ptr, NULL, 0)) {
                fprintf (stderr, "%s Can't add hashes to FIT blob",
                                params->cmdname);
                goto err_add_hashes;