aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_pwdb/support.-c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_pwdb/support.-c')
-rw-r--r--modules/pam_pwdb/support.-c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_pwdb/support.-c b/modules/pam_pwdb/support.-c
index bbaa51ac..e6d5829d 100644
--- a/modules/pam_pwdb/support.-c
+++ b/modules/pam_pwdb/support.-c
@@ -513,6 +513,7 @@ static int _unix_verify_password(pam_handle_t *pamh, const char *name,
} else {
+ /* there is no way that p can be NULL (one can be "") */
pp = _pam_md(p, salt);
/* the moment of truth -- do we agree with the password? */