提交 3b16c664 编写于 作者: B Benjamin Kaduk

Bump TLS1_3_VERSION_DRAFT for draft-23

Reviewed-by: NMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5068)
上级 eee8a40a
...@@ -30,9 +30,9 @@ extern "C" { ...@@ -30,9 +30,9 @@ extern "C" {
# define TLS1_3_VERSION 0x0304 # define TLS1_3_VERSION 0x0304
# define TLS_MAX_VERSION TLS1_3_VERSION # define TLS_MAX_VERSION TLS1_3_VERSION
/* TODO(TLS1.3) REMOVE ME: Version indicator for draft -22 */ /* TODO(TLS1.3) REMOVE ME: Version indicator for draft -23 */
# define TLS1_3_VERSION_DRAFT 0x7f16 # define TLS1_3_VERSION_DRAFT 0x7f17
# define TLS1_3_VERSION_DRAFT_TXT "TLS 1.3 (draft 22)" # define TLS1_3_VERSION_DRAFT_TXT "TLS 1.3 (draft 23)"
/* Special value for method supporting multiple versions */ /* Special value for method supporting multiple versions */
# define TLS_ANY_VERSION 0x10000 # define TLS_ANY_VERSION 0x10000
......
...@@ -36,7 +36,7 @@ my %record_type = ( ...@@ -36,7 +36,7 @@ my %record_type = (
use constant { use constant {
VERS_TLS_1_4 => 0x0305, VERS_TLS_1_4 => 0x0305,
VERS_TLS_1_3_DRAFT => 0x7f16, VERS_TLS_1_3_DRAFT => 0x7f17,
VERS_TLS_1_3 => 0x0304, VERS_TLS_1_3 => 0x0304,
VERS_TLS_1_2 => 0x0303, VERS_TLS_1_2 => 0x0303,
VERS_TLS_1_1 => 0x0302, VERS_TLS_1_1 => 0x0302,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册