aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-ssl.c')
-rw-r--r--epan/dissectors/packet-ssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ssl.c b/epan/dissectors/packet-ssl.c
index a1186291c8..dc1ad7bdcc 100644
--- a/epan/dissectors/packet-ssl.c
+++ b/epan/dissectors/packet-ssl.c
@@ -2823,7 +2823,7 @@ dissect_ssl3_hnd_cli_hello(tvbuff_t *tvb, packet_info *pinfo,
if (cipher_suite_length % 2) {
proto_tree_add_text(tree, tvb, offset, 2,
"Invalid cipher suite length: %d", cipher_suite_length);
- expert_add_info_format_text(pinfo, NULL, &ei_ssl_handshake_cipher_suites_mult2,
+ expert_add_info_format(pinfo, NULL, &ei_ssl_handshake_cipher_suites_mult2,
"Cipher suite length (%d) must be a multiple of 2",
cipher_suite_length);
return;
@@ -3153,7 +3153,7 @@ dissect_ssl3_hnd_cert_req(tvbuff_t *tvb,
case SSL_VER_TLSv1DOT2:
sh_alg_length = tvb_get_ntohs(tvb, offset);
if (sh_alg_length % 2) {
- expert_add_info_format_text(pinfo, NULL,
+ expert_add_info_format(pinfo, NULL,
&ei_ssl_handshake_sig_hash_algs_mult2,
"Signature Hash Algorithm length (%d) must be a multiple of 2",
sh_alg_length);
@@ -4059,7 +4059,7 @@ dissect_ssl2_hnd_client_hello(tvbuff_t *tvb, packet_info *pinfo,
if (session_id_length > SSLV2_MAX_SESSION_ID_LENGTH_IN_BYTES) {
proto_tree_add_text(tree, tvb, offset, 2,
"Invalid session ID length: %d", session_id_length);
- expert_add_info_format_text(pinfo, NULL, &ei_ssl2_handshake_session_id_len_error,
+ expert_add_info_format(pinfo, NULL, &ei_ssl2_handshake_session_id_len_error,
"Session ID length (%u) must be less than %u.",
session_id_length, SSLV2_MAX_SESSION_ID_LENGTH_IN_BYTES);
return;