index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-04-23 11:39:51 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-24 10:50:06 -0500 |
commit | b7b3fc23869475d3d1729de802935b98594d1677 (patch) | |
tree | 8f12c936b318d36c52037a101da3e3157b693a69 /lib/libalpm | |
parent | 1d7ad5d24bd7487d70b98197d4dd3477ff75f513 (diff) |
-rw-r--r-- | lib/libalpm/signing.c | 8 |
diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c index 0abf34f1..867e0a58 100644 --- a/lib/libalpm/signing.c +++ b/lib/libalpm/signing.c @@ -293,7 +293,13 @@ int _alpm_gpgme_checksig(const char *path, const char *base64_sig) result = gpgme_op_verify_result(ctx); gpgsig = result->signatures; if(!gpgsig || gpgsig->next) { - _alpm_log(PM_LOG_ERROR, _("Unexpected number of signatures\n")); + int count = 0; + while(gpgsig) { + count++; + gpgsig = gpgsig->next; + } + _alpm_log(PM_LOG_ERROR, _("Unexpected number of signatures (%d)\n"), + count); ret = -1; goto error; } |