summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-11-11 21:18:35 +0100
committerAllan McRae <allan@archlinux.org>2016-12-05 06:20:08 +0100
commitc3b954e7b93140aa85559fa350582160f3c0a72b (patch)
tree14bb1e39262d7fc3d033badcc93268607f406649
parente3e9cc14a52062e2c3e0f4e2c4c6dec8efc68be4 (diff)
downloadpacman-c3b954e7b93140aa85559fa350582160f3c0a72b.tar.gz
pacman-c3b954e7b93140aa85559fa350582160f3c0a72b.tar.xz
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>
-rw-r--r--lib/libalpm/signing.c4
1 files changed, 4 insertions, 0 deletions
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
@@ -356,6 +356,10 @@ static int key_search(alpm_handle_t *handle, const char *fpr,
#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;
}