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
1 changed files with 4 additions and 0 deletions

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