diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2004-09-14 14:22:39 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2004-09-14 14:22:39 +0000 |
commit | 0b3e58307f210514609115544899ebe42d57a5c9 (patch) | |
tree | d511eb5579416af602bafbef406f0041991d3c6a /libpamc | |
parent | ff883e0d18e0c274da4689b6efa7064408d8c74b (diff) | |
download | pam-0b3e58307f210514609115544899ebe42d57a5c9.tar.gz pam-0b3e58307f210514609115544899ebe42d57a5c9.tar.bz2 pam-0b3e58307f210514609115544899ebe42d57a5c9.zip |
Relevant BUGIDs:
Purpose of commit:
Commit summary:
---------------
bugfix: merge with BerliOS
Diffstat (limited to 'libpamc')
-rw-r--r-- | libpamc/test/modules/pam_secret.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpamc/test/modules/pam_secret.c b/libpamc/test/modules/pam_secret.c index 7efa8c23..830f1a78 100644 --- a/libpamc/test/modules/pam_secret.c +++ b/libpamc/test/modules/pam_secret.c @@ -206,6 +206,7 @@ char *identify_secret(char *identity, const char *user) pwd = getpwnam(user); if ((pwd == NULL) || (pwd->pw_dir == NULL)) { D(("user [%s] is not known", user)); + return NULL; } length_id = strlen(pwd->pw_dir) + sizeof(SECRET_FILE_FORMAT); |