aboutsummaryrefslogtreecommitdiff
path: root/libpam/pam_handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpam/pam_handlers.c')
-rw-r--r--libpam/pam_handlers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpam/pam_handlers.c b/libpam/pam_handlers.c
index 860a1abf..2030dbb8 100644
--- a/libpam/pam_handlers.c
+++ b/libpam/pam_handlers.c
@@ -85,7 +85,7 @@ static int _pam_parse_conf_file(pam_handle_t *pamh, FILE *f
/* No service field: all lines are for the known service. */
this_service = known_service;
} else {
- this_service = tok = _pam_tokenize(buf, " \n\t", &nexttok);
+ this_service = tok = _pam_tokenize(buf, &nexttok);
}
#ifdef PAM_READ_BOTH_CONFS
@@ -103,7 +103,7 @@ static int _pam_parse_conf_file(pam_handle_t *pamh, FILE *f
/* This is a service we are looking for */
D(("Found PAM config entry for: %s", this_service));
- tok = _pam_tokenize(NULL, " \n\t", &nexttok);
+ tok = _pam_tokenize(NULL, &nexttok);
if (tok == NULL) {
/* module type does not exist */
D(("empty module type for %s", this_service));
@@ -150,7 +150,7 @@ static int _pam_parse_conf_file(pam_handle_t *pamh, FILE *f
for (i=0; i<_PAM_RETURN_VALUES;
actions[i++] = _PAM_ACTION_UNDEF);
}
- tok = _pam_tokenize(NULL, " \n\t", &nexttok);
+ tok = _pam_tokenize(NULL, &nexttok);
if (tok == NULL) {
/* no module name given */
D(("no control flag supplied"));
@@ -195,7 +195,7 @@ static int _pam_parse_conf_file(pam_handle_t *pamh, FILE *f
_pam_set_default_control(actions, _PAM_ACTION_BAD);
}
- tok = _pam_tokenize(NULL, " \n\t", &nexttok);
+ tok = _pam_tokenize(NULL, &nexttok);
if (pam_include) {
if (substack) {
res = _pam_add_handler(pamh, PAM_HT_SUBSTACK, other,