Skip to content

Commit

Permalink
Fixing trace logging of some TLS messages.
Browse files Browse the repository at this point in the history
Every other place in `tls_msg_cb` was treating the buffer as
`unsigned char` except here.  Oops.  Led to logging discrepancies.
  • Loading branch information
Castaglia committed Aug 22, 2021
1 parent d6642cb commit abfb787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/mod_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -2513,7 +2513,7 @@ static void tls_msg_cb(int io_flag, int version, int content_type,
} else if (version == 0 &&
content_type == SSL3_RT_HEADER &&
buflen == SSL3_RT_HEADER_LENGTH) {
const char *msg;
const unsigned char *msg;
const char *record_type;
int msg_len;

Expand Down

0 comments on commit abfb787

Please sign in to comment.