aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x509sat/packet-x509sat-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/x509sat/packet-x509sat-template.c')
-rw-r--r--asn1/x509sat/packet-x509sat-template.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/asn1/x509sat/packet-x509sat-template.c b/asn1/x509sat/packet-x509sat-template.c
index 8722808daf..5307af48cb 100644
--- a/asn1/x509sat/packet-x509sat-template.c
+++ b/asn1/x509sat/packet-x509sat-template.c
@@ -87,9 +87,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");
}