summaryrefslogtreecommitdiffstats
path: root/libutil/login_crypt.c
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-05-02 16:00:07 -0400
committerCameron Katri <me@cameronkatri.com>2021-05-02 16:00:07 -0400
commitf3dab068fce37270e5e4e1a00e5a44e30f00baf7 (patch)
treed6b8c70074d440e56c1d7cdbfc7b68d8b96bda96 /libutil/login_crypt.c
parent6b46c62f4663c84790120a4e74e155a6ef16b41c (diff)
downloadpw-darwin-f3dab068fce37270e5e4e1a00e5a44e30f00baf7.tar.gz
pw-darwin-f3dab068fce37270e5e4e1a00e5a44e30f00baf7.tar.zst
pw-darwin-f3dab068fce37270e5e4e1a00e5a44e30f00baf7.zip
Recommit everything, add chpass, improve history (except for a few files that git-filter-repo dislikes for some reason [_secure_path.c and login_cap.h])
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);
}