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

/freebsd-9.3-release/usr.sbin/pw/
H A Dpw_user.c50 static char locked_str[] = "*LOCKED*"; variable
360 if (strncmp(pwd->pw_passwd, locked_str, sizeof(locked_str)-1) == 0)
362 passtmp = malloc(strlen(pwd->pw_passwd) + sizeof(locked_str));
365 strcpy(passtmp, locked_str);
370 if (strncmp(pwd->pw_passwd, locked_str, sizeof(locked_str)-1) != 0)
372 pwd->pw_passwd += sizeof(locked_str)-1;

Completed in 21 milliseconds