The branch, master has been updated
       via  80f27a3 pam_wrapper: Fix the build without pam_vsyslog
      from  bb04070 Bump version to 1.0.3

https://git.samba.org/?p=pam_wrapper.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 80f27a3f776db23a79ad1da3e5967ff045c40ebe
Author: Volker Lendecke <v...@samba.org>
Date:   Mon May 1 17:57:27 2017 +0200

    pam_wrapper: Fix the build without pam_vsyslog
    
    Signed-off-by: Volker Lendecke <v...@samba.org>
    Reviewed-by: Andreas Schneider <a...@samba.org>

-----------------------------------------------------------------------

Summary of changes:
 src/pam_wrapper.c | 2 ++
 1 file changed, 2 insertions(+)


Changeset truncated at 500 lines:

diff --git a/src/pam_wrapper.c b/src/pam_wrapper.c
index d1ae075..889c79a 100644
--- a/src/pam_wrapper.c
+++ b/src/pam_wrapper.c
@@ -513,12 +513,14 @@ static void libpam_pam_vsyslog(const pam_handle_t *pamh,
                               const char *fmt,
                               va_list args)
 {
+#ifdef HAVE_PAM_VSYSLOG
        pwrap_bind_symbol_libpam(pam_vsyslog);
 
        pwrap.libpam.symbols._libpam_pam_vsyslog.f(pamh,
                                                   priority,
                                                   fmt,
                                                   args);
+#endif
 }
 
 /*********************************************************


-- 
pam wrapper repository

Reply via email to