OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1111-g5cd4282

Gerrit Code Review gerrit@openafs.org
Mon, 25 Apr 2011 21:50:27 -0700 (PDT)


The following commit has been merged in the master branch:
commit 94a9b2afd82b6729ddceb7ef736ddeb039e0ae1b
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Mon Apr 25 13:53:52 2011 -0500

    pam: Password is const in setcred
    
    afs_setcred.c gets the "password" pointer from pam_get_data, which
    always gives a const pointer (unlike pam_get_item used in afs_auth.c
    &c, which sometimes gives a const or not-const pointer, depending on
    the PAM implementation).
    
    So, declare password const, to get better type checking.
    
    Change-Id: Ic34ffa54bf0bcc19c8ed3cddc9ee1384ee2dd8f0
    Reviewed-on: http://gerrit.openafs.org/4553
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/pam/afs_setcred.c |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

-- 
OpenAFS Master Repository