summaryrefslogtreecommitdiff
path: root/libpam
diff options
context:
space:
mode:
authorMatveychikov Ilya <i.matveychikov@securitycode.ru>2012-01-17 11:16:49 +0400
committerDmitry V. Levin <ldv@altlinux.org>2012-01-27 00:17:54 +0000
commitaff021e14203373248e376b4ca013e58074dc7a9 (patch)
treed28011df6407901e1ed1026509d83f7162864907 /libpam
parent9e85d7033d3c24f5fd63ecde172b92e61f864844 (diff)
Fix compile time errors in --enable-static-modules mode
* libpam/pam_static_modules.h (_pam_rhosts_auth_modstruct): Remove obsolete declaration. (static_modules): Remove undefined reference to _pam_rhosts_auth_modstruct. * modules/pam_pwhistory/opasswd.h: Rename {save,check}_old_password to {save,check}_old_pass in order to avoid conflicts with pam_unix. * modules/pam_pwhistory/opasswd.c: Likewise. * modules/pam_pwhistory/pam_pwhistory.c: Likewise. * modules/pam_tally2/pam_tally2.c: Rename _pam_tally_modstruct to _pam_tally2_modstruct. Signed-off-by: Matveychikov Ilya <i.matveychikov@securitycode.ru>
Diffstat (limited to 'libpam')
-rw-r--r--libpam/pam_static_modules.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libpam/pam_static_modules.h b/libpam/pam_static_modules.h
index 999adc2a..67d81359 100644
--- a/libpam/pam_static_modules.h
+++ b/libpam/pam_static_modules.h
@@ -63,7 +63,6 @@ extern struct pam_module _pam_nologin_modstruct;
extern struct pam_module _pam_permit_modstruct;
extern struct pam_module _pam_pwhistory_modstruct;
extern struct pam_module _pam_rhosts_modstruct;
-extern struct pam_module _pam_rhosts_auth_modstruct;
extern struct pam_module _pam_rootok_modstruct;
extern struct pam_module _pam_securetty_modstruct;
#ifdef WITH_SELINUX
@@ -124,7 +123,6 @@ static struct pam_module *static_modules[] = {
&_pam_permit_modstruct,
&_pam_pwhistory_modstruct,
&_pam_rhosts_modstruct,
- &_pam_rhosts_auth_modstruct,
&_pam_rootok_modstruct,
&_pam_securetty_modstruct,
#ifdef WITH_SELINUX