From 39c75c70001eac9362d70141372f3e26c254680b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 7 Dec 2008 11:58:24 -0600 Subject: Integrate GPGME into libalpm Signed-off-by: Dan McGee --- lib/libalpm/error.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/libalpm/error.c') 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! */ -- cgit v1.2.3-24-g4f1b