diff options
author | Anders Broman <anders.broman@ericsson.com> | 2011-09-26 05:52:58 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2011-09-26 05:52:58 +0000 |
commit | fc63c358435bc4bf771a0c15943a1aee890a2787 (patch) | |
tree | 8a9fc1879cbb0c4b9c4823078293dc5e8959b883 /epan/dissectors/packet-app-pkix-cert.c | |
parent | 69bfd68ac490f8d831614f4f1643265ef27a9bb4 (diff) |
Get rid of check_col() and use ENC_BIG_ENDIAN.
svn path=/trunk/; revision=39144
Diffstat (limited to 'epan/dissectors/packet-app-pkix-cert.c')
-rw-r--r-- | epan/dissectors/packet-app-pkix-cert.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-app-pkix-cert.c b/epan/dissectors/packet-app-pkix-cert.c index ed3dcc47d5..66893ab3f3 100644 --- a/epan/dissectors/packet-app-pkix-cert.c +++ b/epan/dissectors/packet-app-pkix-cert.c @@ -58,11 +58,10 @@ dissect_cert(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree) asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); - if (check_col(pinfo->cinfo, COL_INFO)) - col_append_sep_fstr(pinfo->cinfo, COL_INFO, " ", "(application/pkix-cert)"); + col_append_sep_fstr(pinfo->cinfo, COL_INFO, " ", "(application/pkix-cert)"); if (tree) { - ti = proto_tree_add_item(tree, proto_cert, tvb, 0, -1, FALSE); + ti = proto_tree_add_item(tree, proto_cert, tvb, 0, -1, ENC_BIG_ENDIAN); subtree = proto_item_add_subtree(ti, ett_cert); } |