]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/fit_check_sign.c
net: fec_mxc: move CONFIG_FEC_MXC_PHYADDR from Kconfig to include/configs/*.h
[karo-tx-uboot.git] / tools / fit_check_sign.c
index 768be2f484a90dbd302efa4f6dfd42f08af38e63..69e99c0d179e048231b8c6ef0429e47e54ec3cfe 100644 (file)
@@ -80,10 +80,13 @@ int main(int argc, char **argv)
 
        image_set_host_blob(key_blob);
        ret = fit_check_sign(fit_blob, key_blob);
-       if (!ret)
+       if (!ret) {
                ret = EXIT_SUCCESS;
-       else
+               fprintf(stderr, "Signature check OK\n");
+       } else {
                ret = EXIT_FAILURE;
+               fprintf(stderr, "Signature check Bad (error %d)\n", ret);
+       }
 
        (void) munmap((void *)fit_blob, fsbuf.st_size);
        (void) munmap((void *)key_blob, ksbuf.st_size);