OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0b-209-g580a9a5
Gerrit Code Review
gerrit@openafs.org
Fri, 16 Dec 2011 03:01:24 -0800 (PST)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 1a3668c1bdc2e5944b88b314956430994f1668e5
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.
Reviewed-on: http://gerrit.openafs.org/4553
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 94a9b2afd82b6729ddceb7ef736ddeb039e0ae1b)
Change-Id: I3171babfbdf29e7aa543a17f7dd543deedc9b30c
Reviewed-on: http://gerrit.openafs.org/6294
Tested-by: Derrick Brashear <shadow@dementix.org>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/pam/afs_setcred.c | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
--
OpenAFS Master Repository