From cd8debfbfb148981ff8f2d793db5764d7cc928f7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 11 Nov 2016 21:18:35 +0100 Subject: libalpm/signing: support EDDSA from gpgme 1.7.0 Signed-off-by: Christian Hesse Signed-off-by: Allan McRae (cherry picked from commit c3b954e7b93140aa85559fa350582160f3c0a72b) --- lib/libalpm/signing.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c index 02671582..e26d9fdb 100644 --- a/lib/libalpm/signing.c +++ b/lib/libalpm/signing.c @@ -355,6 +355,10 @@ static int key_search(alpm_handle_t *handle, const char *fpr, /* value added in gpgme 1.5.0 */ #if GPGME_VERSION_NUMBER >= 0x010500 case GPGME_PK_ECC: +#endif +/* value added in gpgme 1.7.0 */ +#if GPGME_VERSION_NUMBER >= 0x010700 + case GPGME_PK_EDDSA: #endif pgpkey->pubkey_algo = 'E'; break; -- cgit v1.2.3-70-g09d2