freebsd-nq/lib/libpam
Don Lewis 653d2f366d Hoist the getpwnam() call outside the first if/else block in
pam_sm_chauthtok().  Set user = getlogin() inside the true
branch so that it is initialized for the following PAM_LOG()
call.  This is how it is done in pam_sm_authenticate().

Reported by:	Coverity
CID:		272498
MFC after:	1 week
2016-05-16 08:34:17 +00:00
..
libpam Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
modules Hoist the getpwnam() call outside the first if/else block in 2016-05-16 08:34:17 +00:00
static_libpam Simplify building libpam and fix libpam.a not containing the modules since r284345. 2016-04-14 01:17:03 +00:00
Makefile Simplify building libpam and fix libpam.a not containing the modules since r284345. 2016-04-14 01:17:03 +00:00
Makefile.inc Restore the upstream (and documented) behavior of searching for modules 2015-09-21 17:26:35 +00:00