diff options
author | Tomas Mraz <tm@t8m.info> | 2009-12-08 09:06:46 +0000 |
---|---|---|
committer | Tomas Mraz <tm@t8m.info> | 2009-12-08 09:06:46 +0000 |
commit | 7f002afe63c0ae06bf011d6cc83fb2c0dcc6f373 (patch) | |
tree | bad5fe5d297c1736b1fee0c7430dca817ee56c5a /modules/pam_listfile | |
parent | e600e04072e7fe89168209b813f953985350159e (diff) | |
download | pam-7f002afe63c0ae06bf011d6cc83fb2c0dcc6f373.tar.gz pam-7f002afe63c0ae06bf011d6cc83fb2c0dcc6f373.tar.bz2 pam-7f002afe63c0ae06bf011d6cc83fb2c0dcc6f373.zip |
Relevant BUGIDs:
Purpose of commit: cleanup
Commit summary:
---------------
2009-12-08 Tomas Mraz <t8m@centrum.cz>
* modules/pam_listfile/pam_listfile.c(pam_sm_authenticate): Remove
unused function and variable.
Diffstat (limited to 'modules/pam_listfile')
-rw-r--r-- | modules/pam_listfile/pam_listfile.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/pam_listfile/pam_listfile.c b/modules/pam_listfile/pam_listfile.c index f7ed9a40..3768aa72 100644 --- a/modules/pam_listfile/pam_listfile.c +++ b/modules/pam_listfile/pam_listfile.c @@ -39,17 +39,6 @@ #include <security/pam_modutil.h> #include <security/pam_ext.h> -/* checks if a user is on a list of members */ -static int is_on_list(char * const *list, const char *member) -{ - while (*list) { - if (strcmp(*list, member) == 0) - return 1; - list++; - } - return 0; -} - /* --- authentication management functions (only) --- */ /* Extended Items that are not directly available via pam_get_item() */ @@ -81,7 +70,6 @@ pam_sm_authenticate (pam_handle_t *pamh, int flags UNUSED, /* Stuff for "extended" items */ struct passwd *userinfo; - struct group *grpinfo; apply_type=APPLY_TYPE_NULL; memset(apply_val,0,sizeof(apply_val)); |