From b9f98ae97c9419a55b609988fefc6d4fc357d350 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Mon, 2 Jun 2014 09:43:57 +1000 Subject: Add compatibility with gpgme-1.5.0 Signed-off-by: Allan McRae --- lib/libalpm/signing.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/libalpm') 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; } -- cgit v1.2.3-70-g09d2