]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/Linux-PAM-1.6.0-libpam:_fix_build_with_--enable-read-both-confs.patch
Merge branch 'next'
[people/pmueller/ipfire-2.x.git] / src / patches / Linux-PAM-1.6.0-libpam:_fix_build_with_--enable-read-both-confs.patch
CommitLineData
64f96063
AB
1--- Linux-PAM-1.6.0/libpam/pam_handlers.c.orig 2024-01-17 11:29:36.000000000 +0100
2+++ Linux-PAM-1.6.0/libpam/pam_handlers.c 2024-01-22 16:02:45.546376172 +0100
3@@ -500,7 +500,7 @@
4
5 if (pamh->confdir == NULL
6 && (f = fopen(PAM_CONFIG,"r")) != NULL) {
7- retval = _pam_parse_conf_file(pamh, f, NULL, PAM_T_ANY, 0, 1);
8+ retval = _pam_parse_conf_file(pamh, f, NULL, PAM_T_ANY, 0, 0, 1);
9 fclose(f);
10 } else
11 #endif /* PAM_READ_BOTH_CONFS */