summaryrefslogtreecommitdiff
path: root/lib/errors.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-14 09:34:05 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:33 +0100
commit30c1855c060de476e9463421791db9e013a780b1 (patch)
treeac7075fc7a04bf093e58e450a316dd3eef52720d /lib/errors.c
parentd48eebb53752dc3b7cbcdbc09f5ca3cab477e7a5 (diff)
downloadgnutls-30c1855c060de476e9463421791db9e013a780b1.tar.gz
Added support for key share extension
This enables TLS 1.3 key exchange based on the key share extension. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/errors.c')
-rw-r--r--lib/errors.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/errors.c b/lib/errors.c
index b5213707a3..ea444c3e12 100644
--- a/lib/errors.c
+++ b/lib/errors.c
@@ -420,6 +420,8 @@ static const gnutls_error_entry error_entries[] = {
GNUTLS_E_INCOMPATIBLE_SIG_WITH_KEY),
ERROR_ENTRY(N_("One of the involved algorithms has insufficient security level."),
GNUTLS_E_INSUFFICIENT_SECURITY),
+ ERROR_ENTRY(N_("No common key share with peer."),
+ GNUTLS_E_NO_COMMON_KEY_SHARE),
{NULL, NULL, 0}
};