diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2006-06-28 14:19:08 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2006-06-28 14:19:08 +0000 |
commit | 56d7db0c08d734d672c64d6c5c566ae3d70b7ed7 (patch) | |
tree | 8630f1f8a3129f886a07f432a88db41cad2af16d /asn1/pkixproxy | |
parent | 45aac4eb43f1c822625dd95551f4b694ee770e20 (diff) |
remove functions register_ber_oid_name() and get_ber_oid_name() from packet-ber.c, they were only OID but not BER related
use add_oid_str_name() and get_oid_str_name() instead of them
svn path=/trunk/; revision=18595
Diffstat (limited to 'asn1/pkixproxy')
-rw-r--r-- | asn1/pkixproxy/packet-pkixproxy-template.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/asn1/pkixproxy/packet-pkixproxy-template.c b/asn1/pkixproxy/packet-pkixproxy-template.c index 1bc6d1053a..45f32b10cf 100644 --- a/asn1/pkixproxy/packet-pkixproxy-template.c +++ b/asn1/pkixproxy/packet-pkixproxy-template.c @@ -29,6 +29,7 @@ #include <glib.h> #include <epan/packet.h> +#include <epan/oid_resolv.h> #include <stdio.h> #include <string.h> @@ -76,8 +77,8 @@ void proto_register_pkixproxy(void) { /*--- proto_reg_handoff_pkixproxy -------------------------------------------*/ void proto_reg_handoff_pkixproxy(void) { #include "packet-pkixproxy-dis-tab.c" - register_ber_oid_name("1.3.6.1.5.5.7.21.0", "id-ppl-anyLanguage"); - register_ber_oid_name("1.3.6.1.5.5.7.21.1", "id-ppl-inheritAll"); - register_ber_oid_name("1.3.6.1.5.5.7.21.2", "id-ppl-independent"); + add_oid_str_name("1.3.6.1.5.5.7.21.0", "id-ppl-anyLanguage"); + add_oid_str_name("1.3.6.1.5.5.7.21.1", "id-ppl-inheritAll"); + add_oid_str_name("1.3.6.1.5.5.7.21.2", "id-ppl-independent"); } |