aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x509af.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-01-17 22:43:46 +0100
committerMichael Mann <mmann78@netscape.net>2015-01-17 22:14:19 +0000
commit506409d28cf727333b354a328a50e5a5f12552e9 (patch)
tree1fa992040842b99ca67501803e2ec5523afb81db /epan/dissectors/packet-x509af.c
parent77dac91eb046d66a3c1ca3547d7112a5dd920f90 (diff)
X509AF: dissect Certificate Serial Number as INT64 instead of INT32
Bug: 10862 Change-Id: Ie315298dd090b3b689f6a9bfff6f6f5bf7cc715a Reviewed-on: https://code.wireshark.org/review/6594 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-x509af.c')
-rw-r--r--epan/dissectors/packet-x509af.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-x509af.c b/epan/dissectors/packet-x509af.c
index 8b68d54f33..5d664ad0ae 100644
--- a/epan/dissectors/packet-x509af.c
+++ b/epan/dissectors/packet-x509af.c
@@ -199,7 +199,7 @@ dissect_x509af_Version(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset
int
dissect_x509af_CertificateSerialNumber(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
- offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
+ offset = dissect_ber_integer64(implicit_tag, actx, tree, tvb, offset, hf_index,
NULL);
return offset;
@@ -966,7 +966,7 @@ void proto_register_x509af(void) {
NULL, HFILL }},
{ &hf_x509af_serialNumber,
{ "serialNumber", "x509af.serialNumber",
- FT_INT32, BASE_DEC, NULL, 0,
+ FT_INT64, BASE_DEC, NULL, 0,
"CertificateSerialNumber", HFILL }},
{ &hf_x509af_signature,
{ "signature", "x509af.signature_element",
@@ -1114,7 +1114,7 @@ void proto_register_x509af(void) {
NULL, HFILL }},
{ &hf_x509af_revokedUserCertificate,
{ "userCertificate", "x509af.userCertificate",
- FT_INT32, BASE_DEC, NULL, 0,
+ FT_INT64, BASE_DEC, NULL, 0,
"CertificateSerialNumber", HFILL }},
{ &hf_x509af_revocationDate,
{ "revocationDate", "x509af.revocationDate",
@@ -1182,7 +1182,7 @@ void proto_register_x509af(void) {
"UniqueIdentifier", HFILL }},
{ &hf_x509af_serial,
{ "serial", "x509af.serial",
- FT_INT32, BASE_DEC, NULL, 0,
+ FT_INT64, BASE_DEC, NULL, 0,
"CertificateSerialNumber", HFILL }},
{ &hf_x509af_issuerUID,
{ "issuerUID", "x509af.issuerUID",