aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x509sat.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2004-07-23 07:08:14 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2004-07-23 07:08:14 +0000
commit73f560c866156a061354d75a76f43ce74608449b (patch)
tree9717b1e23e8a35f28311e42373729a9808074de8 /epan/dissectors/packet-x509sat.c
parent267b501cae8bfa5e614ed05179422dd5acae86d0 (diff)
register ber oid functions through a special function in packet-ber.c which also takes (still unused) the name of the oid
so that sometime later it will be easy to add code to add the name of the oid to the dissection. svn path=/trunk/; revision=11478
Diffstat (limited to 'epan/dissectors/packet-x509sat.c')
-rw-r--r--epan/dissectors/packet-x509sat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-x509sat.c b/epan/dissectors/packet-x509sat.c
index 87b40f870e..fc13129f7b 100644
--- a/epan/dissectors/packet-x509sat.c
+++ b/epan/dissectors/packet-x509sat.c
@@ -234,9 +234,6 @@ void proto_register_x509sat(void) {
/*--- proto_reg_handoff_x509sat -------------------------------------------*/
void proto_reg_handoff_x509sat(void) {
- dissector_handle_t dissector_handle;
-
- dissector_handle=create_dissector_handle(dissect_x509sat_countryName_callback, proto_x509sat);
- dissector_add_string("ber.oid", "2.5.4.6", dissector_handle);
+ register_ber_oid_dissector("2.5.4.6", dissect_x509sat_countryName_callback, proto_x509sat, "id-at-countryName");
}