From c3b954e7b93140aa85559fa350582160f3c0a72b Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Fri, 11 Nov 2016 21:18:35 +0100
Subject: libalpm/signing: support EDDSA from gpgme 1.7.0

Signed-off-by: Christian Hesse <mail@eworm.de>
Signed-off-by: Allan McRae <allan@archlinux.org>
---
 lib/libalpm/signing.c | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'lib')

diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c
index 527e763f..1feacff1 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