diff options
author | Allan McRae <allan@archlinux.org> | 2014-06-02 09:43:57 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-06-02 10:31:25 +1000 |
commit | b9f98ae97c9419a55b609988fefc6d4fc357d350 (patch) | |
tree | 864aad8a9e1b1c9b240ab29c4058dff4b8d44a6e /lib/libalpm | |
parent | 4d65332ccdbb462e9fa522b3a4cb59fd4e3f44d3 (diff) |
Add compatibility with gpgme-1.5.0
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-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; } |