1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 07:48:50 -05:00

Add compatibility with gpgme-1.5.0

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2014-06-02 09:43:57 +10:00
parent 4d65332ccd
commit b9f98ae97c

View File

@ -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;
}