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 11:58:24 -0600
committerDan McGee <dan@archlinux.org>2011-03-23 03:16:29 -0500
commit39c75c70001eac9362d70141372f3e26c254680b (patch)
tree32e21d71f7616685e7fb115a12dc3d2cf9004db6 /lib/libalpm/error.c
parent061948597dd0fc4fda4197b7bfca6f730c43b9c8 (diff)
Integrate GPGME into libalpm
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/error.c')
-rw-r--r--lib/libalpm/error.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index 71c058f6..4d4a065c 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -116,6 +116,8 @@ const char SYMEXPORT *alpm_strerror(int err)
case PM_ERR_PKG_REPO_NOT_FOUND:
return _("could not find repository for target");
/* Signatures */
+ case PM_ERR_SIG_MISSINGDIR:
+ return _("signature directory not configured correctly");
case PM_ERR_SIG_INVALID:
return _("invalid PGP signature");
case PM_ERR_SIG_UNKNOWN:
@@ -152,6 +154,8 @@ const char SYMEXPORT *alpm_strerror(int err)
/* obviously shouldn't get here... */
return _("download library error");
#endif
+ case PM_ERR_GPGME:
+ return _("gpgme error");
case PM_ERR_EXTERNAL_DOWNLOAD:
return _("error invoking external downloader");
/* Unknown error! */