diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-10-15 22:46:20 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-10-15 22:46:20 +0000 |
commit | 23caf5e4d33fb40834f7fa1b64c2d2914e54bd84 (patch) | |
tree | e63265402fc2ebef9e330139d2877bcd9b288405 /asn1/x411/x411.cnf | |
parent | 24cc5e865a7659260f8f11c5c85f8092e9990e1a (diff) |
remove some strcpy() calls
svn path=/trunk/; revision=16228
Diffstat (limited to 'asn1/x411/x411.cnf')
-rw-r--r-- | asn1/x411/x411.cnf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/x411/x411.cnf b/asn1/x411/x411.cnf index bdffcc4067..0f3c24de48 100644 --- a/asn1/x411/x411.cnf +++ b/asn1/x411/x411.cnf @@ -272,10 +272,10 @@ UniversalOrganizationalUnitNames B "x411.extension-attribute.27" "universal-orga /* convert integer content type to oid for dispatch when the content is found */ switch(ict) { case 2: - strcpy(object_identifier_id, "2.6.1.10.0"); + g_snprintf(object_identifier_id, BER_MAX_OID_STR_LEN, "2.6.1.10.0"); break; case 22: - strcpy(object_identifier_id, "2.6.1.10.1"); + g_snprintf(object_identifier_id, BER_MAX_OID_STR_LEN, "2.6.1.10.1"); break; default: break; |