Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/3852)
# define TLS1_3_VERSION 0x0304
# define TLS_MAX_VERSION TLS1_3_VERSION
-/* TODO(TLS1.3) REMOVE ME: Version indicator for draft -20 */
-# define TLS1_3_VERSION_DRAFT 0x7f14
-# define TLS1_3_VERSION_DRAFT_TXT "TLS 1.3 (draft 20)"
+/* 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)"
/* Special value for method supporting multiple versions */
# define TLS_ANY_VERSION 0x10000
use constant {
VERS_TLS_1_4 => 0x0305,
- VERS_TLS_1_3_DRAFT => 0x7f14,
+ VERS_TLS_1_3_DRAFT => 0x7f15,
VERS_TLS_1_3 => 0x0304,
VERS_TLS_1_2 => 0x0303,
VERS_TLS_1_1 => 0x0302,