summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-29 16:22:27 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-17 17:08:01 +0200
commit55dbc95cf749e87c3289eafc4d2a7ca4fe2c5eb1 (patch)
tree29ec1cf6f0095c19a6b25418e21640cfc2575186 /lib
parentc2ee57d727879c2087026778e1220b568e4f6b37 (diff)
downloadgnutls-55dbc95cf749e87c3289eafc4d2a7ca4fe2c5eb1.tar.gz
Allowed Ed25519 signing in TLS handshakes
This follows draft-ietf-tls-rfc4492bis-17 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/algorithms/publickey.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/algorithms/publickey.c b/lib/algorithms/publickey.c
index a75feddf0d..51a2daab3f 100644
--- a/lib/algorithms/publickey.c
+++ b/lib/algorithms/publickey.c
@@ -50,6 +50,7 @@ static const gnutls_pk_map pk_mappings[] = {
{GNUTLS_KX_SRP_RSA, GNUTLS_PK_RSA, CIPHER_SIGN},
{GNUTLS_KX_ECDHE_RSA, GNUTLS_PK_RSA, CIPHER_SIGN},
{GNUTLS_KX_ECDHE_ECDSA, GNUTLS_PK_EC, CIPHER_SIGN},
+ {GNUTLS_KX_ECDHE_ECDSA, GNUTLS_PK_EDDSA_ED25519, CIPHER_SIGN},
{GNUTLS_KX_DHE_DSS, GNUTLS_PK_DSA, CIPHER_SIGN},
{GNUTLS_KX_DHE_RSA, GNUTLS_PK_RSA_PSS, CIPHER_SIGN},
{GNUTLS_KX_ECDHE_RSA, GNUTLS_PK_RSA_PSS, CIPHER_SIGN},