summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-06-02 09:43:57 +1000
committerAllan McRae <allan@archlinux.org>2014-06-02 10:31:25 +1000
commitb9f98ae97c9419a55b609988fefc6d4fc357d350 (patch)
tree864aad8a9e1b1c9b240ab29c4058dff4b8d44a6e /lib
parent4d65332ccdbb462e9fa522b3a4cb59fd4e3f44d3 (diff)
downloadpacman-b9f98ae97c9419a55b609988fefc6d4fc357d350.tar.xz
Add compatibility with gpgme-1.5.0
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/signing.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c
index caacd24e..8fb909d9 100644
--- a/lib/libalpm/signing.c
+++ b/lib/libalpm/signing.c
@@ -342,6 +342,10 @@ static int key_search(alpm_handle_t *handle, const char *fpr,
case GPGME_PK_ELG:
case GPGME_PK_ECDSA:
case GPGME_PK_ECDH:
+/* value added in gpgme 1.5.0 */
+#if GPGME_VERSION_NUMBER >= 0x010500
+ case GPGME_PK_ECC:
+#endif
pgpkey->pubkey_algo = 'E';
break;
}