[pacman-dev] [PATCH 1/1] libalpm/signing: support EDDSA from gpgme 1.7.0
From: Christian Hesse <mail@eworm.de> Signed-off-by: Christian Hesse <mail@eworm.de> --- lib/libalpm/signing.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c index 527e763..1feacff 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; } -- 2.10.2
On 12/11/16 06:18, Christian Hesse wrote:
From: Christian Hesse <mail@eworm.de>
Signed-off-by: Christian Hesse <mail@eworm.de> --- lib/libalpm/signing.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c index 527e763..1feacff 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; }
Thanks, A
participants (2)
-
Allan McRae
-
Christian Hesse