summaryrefslogtreecommitdiffstats
path: root/libutil/login_crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libutil/login_crypt.c')
-rw-r--r--libutil/login_crypt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libutil/login_crypt.c b/libutil/login_crypt.c
index b5ab10e..5d65d3a 100644
--- a/libutil/login_crypt.c
+++ b/libutil/login_crypt.c
@@ -46,7 +46,5 @@ login_setcryptfmt(login_cap_t *lc, const char *def, const char *error) {
"passwd_format = %s\n", cipher);
if (cipher == NULL)
return (error);
- if (!crypt_set_format(cipher))
- return (error);
return (cipher);
}