summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-03-08 11:48:43 +0000
committerMatt Caswell <matt@openssl.org>2017-03-16 14:20:38 +0000
commite984b535d95f354e9df5dfe95d588db0d6dc2413 (patch)
treef7cda3d3f7d4fc34474beb793e3cbb10aca99fe4 /util
parent7baabf45c424c135ecfafc6b3bb7ea1d225fbfda (diff)
Update the TLSv1.3 version indicator for draft-19
This change will mean we will lose interoperability with draft-18 implementations. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2895)
Diffstat (limited to 'util')
-rw-r--r--util/TLSProxy/Record.pm16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/TLSProxy/Record.pm b/util/TLSProxy/Record.pm
index 202c1ec9a6..358c1ce63f 100644
--- a/util/TLSProxy/Record.pm
+++ b/util/TLSProxy/Record.pm
@@ -35,14 +35,14 @@ my %record_type = (
);
use constant {
- VERS_TLS_1_4 => 773,
- VERS_TLS_1_3_DRAFT => 32530,
- VERS_TLS_1_3 => 772,
- VERS_TLS_1_2 => 771,
- VERS_TLS_1_1 => 770,
- VERS_TLS_1_0 => 769,
- VERS_SSL_3_0 => 768,
- VERS_SSL_LT_3_0 => 767
+ VERS_TLS_1_4 => 0x0305,
+ VERS_TLS_1_3_DRAFT => 0x7f13,
+ VERS_TLS_1_3 => 0x0304,
+ VERS_TLS_1_2 => 0x0303,
+ VERS_TLS_1_1 => 0x0302,
+ VERS_TLS_1_0 => 0x0301,
+ VERS_SSL_3_0 => 0x0300,
+ VERS_SSL_LT_3_0 => 0x02ff
};
my %tls_version = (