diff options
author | Allan McRae <allan@archlinux.org> | 2014-06-02 01:43:57 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-06-02 02:31:25 +0200 |
commit | b9f98ae97c9419a55b609988fefc6d4fc357d350 (patch) | |
tree | 864aad8a9e1b1c9b240ab29c4058dff4b8d44a6e | |
parent | 4d65332ccdbb462e9fa522b3a4cb59fd4e3f44d3 (diff) | |
download | pacman-b9f98ae97c9419a55b609988fefc6d4fc357d350.tar.gz pacman-b9f98ae97c9419a55b609988fefc6d4fc357d350.tar.xz |
Add compatibility with gpgme-1.5.0
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r-- | lib/libalpm/signing.c | 4 |
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; } |