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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ssl.c b/epan/dissectors/packet-ssl.c
index 3c0dd5f05a..c0d748e8df 100644
--- a/epan/dissectors/packet-ssl.c
+++ b/epan/dissectors/packet-ssl.c
@@ -2218,7 +2218,7 @@ dissect_ssl3_hnd_encrypted_exts(tvbuff_t *tvb, proto_tree *tree,
selected_protocol_len = tvb_get_guint8(tvb, offset);
proto_tree_add_item(tree, hf_ssl_handshake_npn_selected_protocol_len,
- tvb, offset, 1, ENC_NA);
+ tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
proto_tree_add_item(tree, hf_ssl_handshake_npn_selected_protocol,
tvb, offset, selected_protocol_len, ENC_ASCII|ENC_NA);
@@ -2226,7 +2226,7 @@ dissect_ssl3_hnd_encrypted_exts(tvbuff_t *tvb, proto_tree *tree,
padding_len = tvb_get_guint8(tvb, offset);
proto_tree_add_item(tree, hf_ssl_handshake_npn_padding_len,
- tvb, offset, 1, ENC_NA);
+ tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
proto_tree_add_item(tree, hf_ssl_handshake_npn_padding,
tvb, offset, padding_len, ENC_NA);