summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/wgtpkg-digsig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wgtpkg-digsig.c b/src/wgtpkg-digsig.c
index 4460bf2..a1cb55f 100644
--- a/src/wgtpkg-digsig.c
+++ b/src/wgtpkg-digsig.c
@@ -347,7 +347,7 @@ int check_all_signatures()
for (i = n ; i-- > 0 ; ) {
fdesc = signature_of_index(i);
irc = verify_digsig(fdesc);
- if (!irc)
+ if (irc < 0)
rc = irc;
}