wgtpkg-digsig: Add flag to accept/refuse a WGT without signature
[src/app-framework-main.git] / src / wgtpkg-info.c
index 4849de7..1c9eac0 100644 (file)
@@ -155,11 +155,11 @@ static void show(const char *wgtfile)
        if (zread(wgtfile, 0))
                goto error2;
 
-       if (check_all_signatures())
+       if (check_all_signatures(1)) /* info even on WGT without signature */
                goto error2;
 
        check_and_show();
-       
+
 error2:
        remove_workdir();
        return;