Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/error.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-12-07 13:20:25 -0600
committerDan McGee <dan@archlinux.org>2011-03-23 03:16:29 -0500
commit061948597dd0fc4fda4197b7bfca6f730c43b9c8 (patch)
treed4605449401a7777d49dfbd9221b2f5131d6a954 /lib/libalpm/error.c
parent4ae902ec5fb286a7826214f73f718a41cdf82ddb (diff)
Add some error codes for signature verification
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/error.c')
-rw-r--r--lib/libalpm/error.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index dcf26074..71c058f6 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -115,6 +115,11 @@ const char SYMEXPORT *alpm_strerror(int err)
return _("package architecture is not valid");
case PM_ERR_PKG_REPO_NOT_FOUND:
return _("could not find repository for target");
+ /* Signatures */
+ case PM_ERR_SIG_INVALID:
+ return _("invalid PGP signature");
+ case PM_ERR_SIG_UNKNOWN:
+ return _("unknown PGP signature");
/* Deltas */
case PM_ERR_DLT_INVALID:
return _("invalid or corrupted delta");