summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-ssl-utils.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-08-21 09:33:39 +0200
committerPeter Wu <peter@lekensteyn.nl>2016-09-16 22:28:34 +0000
commit778f7c52cc454d97e3ff560ebf7fa9694da56e98 (patch)
treeade4a2b4d33ba35380665db2db286c075de029f5 /epan/dissectors/packet-ssl-utils.c
parentee2c4da947a6e7ae638efa464d9eb09c9082fa00 (diff)
downloadwireshark-778f7c52cc454d97e3ff560ebf7fa9694da56e98.tar.gz
TLS(1.3): Add TLS 1.3 value for version Handshake
Bug: 12779 Change-Id: I298ecf4a0537df2e88354aed6912d4298a094216 Reviewed-on: https://code.wireshark.org/review/17224 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.c')
-rw-r--r--epan/dissectors/packet-ssl-utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ssl-utils.c b/epan/dissectors/packet-ssl-utils.c
index 9027079842..5c8d849ade 100644
--- a/epan/dissectors/packet-ssl-utils.c
+++ b/epan/dissectors/packet-ssl-utils.c
@@ -64,6 +64,7 @@ const value_string ssl_version_short_names[] = {
{ TLSV1_VERSION, "TLSv1" },
{ TLSV1DOT1_VERSION, "TLSv1.1" },
{ TLSV1DOT2_VERSION, "TLSv1.2" },
+ { TLSV1DOT3_VERSION, "TLSv1.3" },
{ DTLSV1DOT0_VERSION, "DTLSv1.0" },
{ DTLSV1DOT2_VERSION, "DTLSv1.2" },
{ DTLSV1DOT0_OPENSSL_VERSION, "DTLS 1.0 (OpenSSL pre 0.9.8f)" },
@@ -472,6 +473,7 @@ const value_string ssl_versions[] = {
{ 0xfefd, "DTLS 1.2" },
{ 0xfeff, "DTLS 1.0" },
{ 0x0100, "DTLS 1.0 (OpenSSL pre 0.9.8f)" },
+ { 0x0304, "TLS 1.3" },
{ 0x0303, "TLS 1.2" },
{ 0x0302, "TLS 1.1" },
{ 0x0301, "TLS 1.0" },
@@ -5841,6 +5843,7 @@ ssl_try_set_version(SslSession *session, SslDecryptSession *ssl,
case TLSV1_VERSION:
case TLSV1DOT1_VERSION:
case TLSV1DOT2_VERSION:
+ case TLSV1DOT3_VERSION:
if (is_dtls)
return;
break;