From 58b4ed970c7d5f54186be0ecb22bc07423256f62 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Thu, 9 Jan 2014 09:16:12 +0800 Subject: Declare all functions static for proper isolation. --- mod_authnz_pam.c | 2 +- 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. -- cgit