Searched defs:dbprincstr (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_convert.c618 char *dbprincstr = NULL; local
637 dbprincstr = malloc((upd->kdb_princ_name.utf8str_t_len + 1)
639 if (dbprincstr == NULL)
641 strncpy(dbprincstr, (char *)upd->kdb_princ_name.utf8str_t_val,
643 dbprincstr[upd->kdb_princ_name.utf8str_t_len] = 0;
644 ret = krb5_parse_name(context, dbprincstr, &dbprinc);
645 free(dbprincstr);
H A Dkdb_log.c309 char *dbprincstr = NULL; local
343 dbprincstr = malloc((upd->kdb_princ_name.utf8str_t_len
346 if (dbprincstr == NULL) {
351 (void) strlcpy(dbprincstr,
355 if (retval = krb5_parse_name(context, dbprincstr,
360 if (dbprincstr)
361 free(dbprincstr);

Completed in 70 milliseconds