Searched refs:strlength (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/pam_modules/krb5_migrate/
H A Dkrb5_migrate_authenticate.c72 int strlength = 0; local
212 strlength = strlen(user) + strlen(def_realm) + 2;
213 if ((userprincstr = malloc(strlength)) == NULL)
215 (void) strlcpy(userprincstr, user, strlength);
216 (void) strlcat(userprincstr, "@", strlength);
217 (void) strlcat(userprincstr, def_realm, strlength);

Completed in 43 milliseconds