(der_print_heim_oid): use delim when printing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19103 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -111,9 +111,9 @@ der_print_heim_oid (const heim_oid *oid, char delim, char **str)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < oid->length ; i++) {
|
for (i = 0; i < oid->length ; i++) {
|
||||||
p = rk_strpoolprintf(p, "%d%s",
|
p = rk_strpoolprintf(p, "%d", oid->components[i]);
|
||||||
oid->components[i],
|
if (p && i < oid->length - 1)
|
||||||
i < oid->length - 1 ? " " : "");
|
p = rk_strpoolprintf(p, "%c", delim);
|
||||||
if (p == NULL) {
|
if (p == NULL) {
|
||||||
*str = NULL;
|
*str = NULL;
|
||||||
return ENOMEM;
|
return ENOMEM;
|
||||||
|
Reference in New Issue
Block a user