aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--asn1/x509af/packet-x509af-template.c2
-rw-r--r--epan/dissectors/packet-x509af.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/asn1/x509af/packet-x509af-template.c b/asn1/x509af/packet-x509af-template.c
index ff38e3696d..475ae7f65d 100644
--- a/asn1/x509af/packet-x509af-template.c
+++ b/asn1/x509af/packet-x509af-template.c
@@ -165,7 +165,7 @@ void proto_reg_handoff_x509af(void) {
/* these will generally be encoded as ";binary" in LDAP */
register_ldap_name_dissector("cACertificate", dissect_Certificate_PDU, proto_x509af);
- register_ldap_name_dissector("certificate", dissect_Certificate_PDU, proto_x509af);
+ register_ldap_name_dissector("userCertificate", dissect_Certificate_PDU, proto_x509af);
register_ldap_name_dissector("certificateRevocationList", dissect_CertificateList_PDU, proto_x509af);
register_ldap_name_dissector("crl", dissect_CertificateList_PDU, proto_x509af);
diff --git a/epan/dissectors/packet-x509af.c b/epan/dissectors/packet-x509af.c
index 1e0fc0ea40..6f6226cb82 100644
--- a/epan/dissectors/packet-x509af.c
+++ b/epan/dissectors/packet-x509af.c
@@ -1350,7 +1350,7 @@ void proto_reg_handoff_x509af(void) {
/* these will generally be encoded as ";binary" in LDAP */
register_ldap_name_dissector("cACertificate", dissect_Certificate_PDU, proto_x509af);
- register_ldap_name_dissector("certificate", dissect_Certificate_PDU, proto_x509af);
+ register_ldap_name_dissector("userCertificate", dissect_Certificate_PDU, proto_x509af);
register_ldap_name_dissector("certificateRevocationList", dissect_CertificateList_PDU, proto_x509af);
register_ldap_name_dissector("crl", dissect_CertificateList_PDU, proto_x509af);