aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/cms/packet-cms-template.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-10-31 08:26:52 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-10-31 08:26:52 +0000
commit528ac73cfd41274dbc53aaf6de4aad29ef06cf64 (patch)
treeb122eb6734f7a5d1abe46dd0031acbdc54b85d54 /asn1/cms/packet-cms-template.c
parentb3ec72530eaf09ce7c4c8a296fd0fe02a8e23dae (diff)
Use oid_add_from_string for adding names.
svn path=/trunk/; revision=23318
Diffstat (limited to 'asn1/cms/packet-cms-template.c')
-rw-r--r--asn1/cms/packet-cms-template.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/asn1/cms/packet-cms-template.c b/asn1/cms/packet-cms-template.c
index 571d7e4ad3..ee82ee539a 100644
--- a/asn1/cms/packet-cms-template.c
+++ b/asn1/cms/packet-cms-template.c
@@ -172,9 +172,9 @@ void proto_register_cms(void) {
void proto_reg_handoff_cms(void) {
#include "packet-cms-dis-tab.c"
- add_oid_str_name("1.2.840.113549.1.7.1", "id-data");
- add_oid_str_name("1.2.840.113549.3.7", "id-alg-des-ede3-cbc");
- add_oid_str_name("1.3.14.3.2.7", "id-alg-des-cbc");
+ oid_add_from_string("id-data","1.2.840.113549.1.7.1");
+ oid_add_from_string("id-alg-des-ede3-cbc","1.2.840.113549.3.7");
+ oid_add_from_string("id-alg-des-cbc","1.3.14.3.2.7");
}