Update the TLSv1.3 draft version indicators to draft 22

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4701)
This commit is contained in:
Matt Caswell 2017-11-03 11:26:29 +00:00
parent f90852093f
commit 86b165e39f
2 changed files with 4 additions and 4 deletions

View File

@ -30,9 +30,9 @@ extern "C" {
# define TLS1_3_VERSION 0x0304
# define TLS_MAX_VERSION TLS1_3_VERSION
/* TODO(TLS1.3) REMOVE ME: Version indicator for draft -21 */
# define TLS1_3_VERSION_DRAFT 0x7f15
# define TLS1_3_VERSION_DRAFT_TXT "TLS 1.3 (draft 21)"
/* TODO(TLS1.3) REMOVE ME: Version indicator for draft -22 */
# define TLS1_3_VERSION_DRAFT 0x7f16
# define TLS1_3_VERSION_DRAFT_TXT "TLS 1.3 (draft 22)"
/* Special value for method supporting multiple versions */
# define TLS_ANY_VERSION 0x10000

View File

@ -36,7 +36,7 @@ my %record_type = (
use constant {
VERS_TLS_1_4 => 0x0305,
VERS_TLS_1_3_DRAFT => 0x7f15,
VERS_TLS_1_3_DRAFT => 0x7f16,
VERS_TLS_1_3 => 0x0304,
VERS_TLS_1_2 => 0x0303,
VERS_TLS_1_1 => 0x0302,