aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x509af.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-09-15 18:46:36 +0200
committerMichael Mann <mmann78@netscape.net>2015-09-15 22:51:18 +0000
commitbec65ab1ac33ddf7e7694dfe361f4e55ae5c1dc7 (patch)
tree0eb2f576ab643787a80db821a32abcf5bd9fc0d9 /epan/dissectors/packet-x509af.c
parent0472d1ecadf3577c6a7f880f785f94c7006e8c34 (diff)
x509,ber: fix header field of large integers
In the past large integers would be displayed as text, later on this was changed into a "proper" header field. In most cases you do not want to see "ber.64bit_uint_as_bytes" though, but the original field name. This patch allows fields that are marked as FT_BYTES to be displayed with their original header field details (name, description, etc.). Change-Id: I4ab1a4cce649a225c73298fbf4dcf1692c693a03 Reviewed-on: https://code.wireshark.org/review/10539 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-x509af.c')
-rw-r--r--epan/dissectors/packet-x509af.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-x509af.c b/epan/dissectors/packet-x509af.c
index e3cabe6295..3e261ae79e 100644
--- a/epan/dissectors/packet-x509af.c
+++ b/epan/dissectors/packet-x509af.c
@@ -1222,15 +1222,15 @@ void proto_register_x509af(void) {
NULL, HFILL }},
{ &hf_x509af_p,
{ "p", "x509af.p",
- FT_INT32, BASE_DEC, NULL, 0,
+ FT_BYTES, BASE_NONE, NULL, 0,
"INTEGER", HFILL }},
{ &hf_x509af_q,
{ "q", "x509af.q",
- FT_INT32, BASE_DEC, NULL, 0,
+ FT_BYTES, BASE_NONE, NULL, 0,
"INTEGER", HFILL }},
{ &hf_x509af_g,
{ "g", "x509af.g",
- FT_INT32, BASE_DEC, NULL, 0,
+ FT_BYTES, BASE_NONE, NULL, 0,
"INTEGER", HFILL }},
/*--- End of included file: packet-x509af-hfarr.c ---*/