diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2014-01-09 09:16:12 +0800 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2014-01-09 10:03:19 +0800 |
commit | 58b4ed970c7d5f54186be0ecb22bc07423256f62 (patch) | |
tree | 57eae2e1b892ea895b85d5dce5a23b5d9de453d6 | |
parent | aaafc7a63a92c0ad225c34e84d7ab1a358c12fd1 (diff) | |
download | mod_authnz_pam-58b4ed970c7d5f54186be0ecb22bc07423256f62.tar.gz mod_authnz_pam-58b4ed970c7d5f54186be0ecb22bc07423256f62.tar.xz mod_authnz_pam-58b4ed970c7d5f54186be0ecb22bc07423256f62.zip |
Declare all functions static for proper isolation.mod_authnz_pam-0.7
-rw-r--r-- | mod_authnz_pam.c | 2 | ||||
-rw-r--r-- | mod_authnz_pam.spec | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/mod_authnz_pam.c b/mod_authnz_pam.c index 35bcef5..2463982 100644 --- a/mod_authnz_pam.c +++ b/mod_authnz_pam.c @@ -46,7 +46,7 @@ static const command_rec authnz_pam_cmds[] = { {NULL} }; -int pam_authenticate_conv(int num_msg, const struct pam_message ** msg, struct pam_response ** resp, void * appdata_ptr) { +static int pam_authenticate_conv(int num_msg, const struct pam_message ** msg, struct pam_response ** resp, void * appdata_ptr) { struct pam_response * response = NULL; if (!msg || !resp || !appdata_ptr) return PAM_CONV_ERR; diff --git a/mod_authnz_pam.spec b/mod_authnz_pam.spec index 080a4f4..388400c 100644 --- a/mod_authnz_pam.spec +++ b/mod_authnz_pam.spec @@ -6,7 +6,7 @@ Summary: PAM authorization checker and PAM Basic Authentication provider Name: mod_authnz_pam -Version: 0.6 +Version: 0.7 Release: 1%{?dist} License: ASL 2.0 Group: System Environment/Daemons @@ -57,6 +57,9 @@ install -Dp -m 0644 authnz_pam.conf $RPM_BUILD_ROOT%{_httpd_confdir}/authnz_pam. %{_httpd_moddir}/*.so %changelog +* Thu Jan 09 2014 Jan Pazdziora - 0.7-1 +- Declare all functions static for proper isolation. + * Wed Jan 08 2014 Jan Pazdziora - 0.6-1 - Make pam_authenticate_with_login_password available for other modules. - Reformat documentation to make the Basic Auth usage less prominent. |