(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:
Love Hörnquist Åstrand
2006-11-24 06:08:27 +00:00
parent dcb8f42f41
commit 0fa8cd58ec

View File

@@ -111,9 +111,9 @@ der_print_heim_oid (const heim_oid *oid, char delim, char **str)
int i;
for (i = 0; i < oid->length ; i++) {
p = rk_strpoolprintf(p, "%d%s",
oid->components[i],
i < oid->length - 1 ? " " : "");
p = rk_strpoolprintf(p, "%d", oid->components[i]);
if (p && i < oid->length - 1)
p = rk_strpoolprintf(p, "%c", delim);
if (p == NULL) {
*str = NULL;
return ENOMEM;