X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tools%2Ffit_check_sign.c;h=62adc751cbce4a8ab236ee2abd627e91c4912a44;hb=8f1da50ccca246fe2c3e9d8ef890b48e7bc8795b;hp=69e99c0d179e048231b8c6ef0429e47e54ec3cfe;hpb=304f936aeaab0c3cc9d5af438fd3498ac7682991;p=u-boot diff --git a/tools/fit_check_sign.c b/tools/fit_check_sign.c index 69e99c0d17..62adc751cb 100644 --- a/tools/fit_check_sign.c +++ b/tools/fit_check_sign.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2014 * DENX Software Engineering @@ -15,8 +16,6 @@ * some functions added to address abstraction * * All rights reserved. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include "mkimage.h" @@ -75,7 +74,7 @@ int main(int argc, char **argv) if (ffd < 0) return EXIT_FAILURE; kfd = mmap_fdt(cmdname, keyfile, 0, &key_blob, &ksbuf, false); - if (ffd < 0) + if (kfd < 0) return EXIT_FAILURE; image_set_host_blob(key_blob);