Skip to content

Commit

Permalink
#Repair cipher request display error
Browse files Browse the repository at this point in the history
  • Loading branch information
pengtianabc committed Jun 11, 2018
1 parent 00d8a40 commit f278de4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions epan/dissectors/packet-ssl-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ const value_string tls_hash_algorithm[] = {
{ 0, NULL }
};

const value_string tls_signature_alfgorithm[] = {
const value_string tls_signature_algorithm[] = {
{ 0, "Anonymous" },
{ 1, "RSA" },
{ 2, "DSA" },
Expand Down Expand Up @@ -4186,6 +4186,7 @@ ssl_decrypt_record(SslDecryptSession *ssl, SslDecoder *decoder, guint8 ct, guint
guint blocksize = 0;

switch (ssl->session.version) {
case GMSSLV1_VERSION:
case TLSV1DOT1_VERSION:
case TLSV1DOT2_VERSION:
case DTLSV1DOT0_VERSION:
Expand Down Expand Up @@ -7994,7 +7995,7 @@ ssl_dissect_hnd_cert_req(ssl_common_dissect_t *hf, tvbuff_t *tvb, packet_info *p
}
}

if (session->version == GMSSLV1_VERSION || session->version == TLSV1DOT2_VERSION || session->version == DTLSV1DOT2_VERSION ||
if (session->version == TLSV1DOT2_VERSION || session->version == DTLSV1DOT2_VERSION ||
(is_tls13 && (draft_version > 0 && draft_version < 19))) {
offset = ssl_dissect_hash_alg_list(hf, tvb, tree, pinfo, offset, offset_end);
}
Expand Down Expand Up @@ -8461,6 +8462,7 @@ ssl_dissect_digitally_signed(ssl_common_dissect_t *hf, tvbuff_t *tvb, packet_inf
guint32 sig_len;

switch (version) {
case GMSSLV1_VERSION:
case TLSV1DOT2_VERSION:
case DTLSV1DOT2_VERSION:
case TLSV1DOT3_VERSION:
Expand Down

0 comments on commit f278de4

Please sign in to comment.