From: Benjamin Kaduk Date: Thu, 11 Jan 2018 16:55:05 +0000 (-0600) Subject: Renumber TLSEXT_TYPE_key_share for draft-23 X-Git-Tag: OpenSSL_1_1_1-pre1~129 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f27f5cd4870de6e2b269e7c3715df86756d67ba3;p=oweals%2Fopenssl.git Renumber TLSEXT_TYPE_key_share for draft-23 Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/5068) --- diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h index 854b83336c..500a6374b9 100644 --- a/include/openssl/tls1.h +++ b/include/openssl/tls1.h @@ -140,13 +140,13 @@ extern "C" { # define TLSEXT_TYPE_session_ticket 35 /* As defined for TLS1.3 */ -# define TLSEXT_TYPE_key_share 40 # define TLSEXT_TYPE_psk 41 # define TLSEXT_TYPE_early_data 42 # define TLSEXT_TYPE_supported_versions 43 # define TLSEXT_TYPE_cookie 44 # define TLSEXT_TYPE_psk_kex_modes 45 # define TLSEXT_TYPE_certificate_authorities 47 +# define TLSEXT_TYPE_key_share 51 /* Temporary extension type */ # define TLSEXT_TYPE_renegotiate 0xff01 diff --git a/util/perl/TLSProxy/Message.pm b/util/perl/TLSProxy/Message.pm index 1777e245d0..d55486de8c 100644 --- a/util/perl/TLSProxy/Message.pm +++ b/util/perl/TLSProxy/Message.pm @@ -74,7 +74,7 @@ use constant { EXT_ENCRYPT_THEN_MAC => 22, EXT_EXTENDED_MASTER_SECRET => 23, EXT_SESSION_TICKET => 35, - EXT_KEY_SHARE => 40, + EXT_KEY_SHARE => 51, EXT_PSK => 41, EXT_SUPPORTED_VERSIONS => 43, EXT_COOKIE => 44,