sdup
ASN1_STRING *sdup;
sdup = ASN1_STRING_dup(value);
if (!sdup)
ASN1_TYPE_set(a, type, sdup);
char *sdup(const char *);
char *cp, *sdup;
sdup = xstrdup(s);
if ((cp = strchr(sdup, '=')) == NULL || cp == sdup) {
free(sdup);
free(sdup);
*typep = xstrdup(sdup);
free(sdup);
char *sdup, *tmp;
sdup = xstrdup(s);
if ((tmp = colon(sdup)) == NULL)
tmp = strrchr(sdup, '@');
if (*sdup != '\0')
user = xstrdup(sdup);
host = xstrdup(cleanhostname(sdup));
free(sdup);
char *sdup, *cp, *tmp;
if ((sdup = tmp = strdup(s)) == NULL)
free(sdup);
char *orig = NULL, *sdup = NULL, *cp;
sdup = xstrdup(orig);
if ((cp = strrchr(sdup, ',')) == NULL)
cp = sdup; /* last */
} while (cp != sdup);
free(sdup);