]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/, src/, doc/: Remove dead code
authorAlejandro Colomar <alx@kernel.org>
Wed, 29 Jan 2025 15:37:51 +0000 (16:37 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Wed, 5 Feb 2025 15:58:10 +0000 (16:58 +0100)
commitd4ca9fdcf9035b1d3fcdf9cc865fcf05229f22bb
treedd07a244e103ba523a3d17a7c6842732d46443a3
parent3b12ab7e29b0f3c766b39269da76a5ef3a753b22
lib/, src/, doc/: Remove dead code

pw_auth()'s $4 was always being specified as NULL.  Remove the
parameter.  Instead, set a local variable to NULL at function entry, and
remove code that never runs (conditional on $4 != NULL).

Reviewed-by: Sam James <sam@gentoo.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
doc/HOWTO
lib/pwauth.c
lib/pwauth.h
lib/pwdcheck.c
src/login.c
src/su.c