login_setcryptfmt
if (login_setcryptfmt(lc, password_hash, NULL) == NULL)
const char *login_setcryptfmt(login_cap_t *, const char *, const char *);
if (lc == NULL || login_setcryptfmt(lc, "sha512", NULL) == NULL)
if (lc == NULL || login_setcryptfmt(lc, "sha512", NULL) == NULL)
login_setcryptfmt(lc, "sha512", NULL) == NULL)