summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-28 11:38:53 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-03-08 12:54:07 +0100
commit90c4f5c1c4a4ec7bce1db01447df2727407cba3f (patch)
tree2031331c0f6af9a4b6c1a5dc404656ad484071d6 /lib
parent4a5f1b2953c1c773ff1dd3e9cc77bba605698bac (diff)
downloadgnutls-90c4f5c1c4a4ec7bce1db01447df2727407cba3f.tar.gz
Renumbered the key share extension to 51
This is a draft-ietf-tls-tls13-23 change. Resolves #398 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/ext/key_share.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext/key_share.c b/lib/ext/key_share.c
index d4cf9b78c8..f110e10268 100644
--- a/lib/ext/key_share.c
+++ b/lib/ext/key_share.c
@@ -45,7 +45,7 @@ static int key_share_send_params(gnutls_session_t session,
const hello_ext_entry_st ext_mod_key_share = {
.name = "Key Share",
- .tls_id = 40,
+ .tls_id = 51,
.gid = GNUTLS_EXTENSION_KEY_SHARE,
.parse_type = _GNUTLS_EXT_TLS_POST_CS,
.validity = GNUTLS_EXT_FLAG_CLIENT_HELLO|GNUTLS_EXT_FLAG_TLS13_SERVER_HELLO|GNUTLS_EXT_FLAG_HRR,