OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1103-g3ea3916

Gerrit Code Review gerrit@openafs.org
Mon, 25 Apr 2011 19:08:19 -0700 (PDT)


The following commit has been merged in the master branch:
commit 3ea39166d64d2e66cddef015734c2f91548423af
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date:   Sat Apr 16 11:22:54 2011 -0400

    pam: Clear up PAM_CONST related warnings on Linux
    
    Commit 78d1f8d8 expanded the use of PAM_CONST and introduced many
    new warnings on Linux where pam expects "const" arguments.
    
    This clears up the warnings by doing the following:
    - Cast "user" to char * when kalling ka* functions
    - Change the signature of pam_afs_prompt and pam_afs_printf to use
    PAM_CONST
    - Use a separate non-const password pointer for pam_afs_prompt
    
    Change-Id: I460e1d1ca763f0aea5edcdaa208b9d4b8299ded0
    Reviewed-on: http://gerrit.openafs.org/4487
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/pam/afs_auth.c     |   31 ++++++++++++++++---------------
 src/pam/afs_pam_msg.c  |    4 ++--
 src/pam/afs_pam_msg.h  |    4 ++--
 src/pam/afs_password.c |   25 +++++++++++++------------
 src/pam/afs_setcred.c  |    4 ++--
 5 files changed, 35 insertions(+), 33 deletions(-)

-- 
OpenAFS Master Repository