Skip Menu |

Subject: password argument to krb5_get_init_creds_password not const
I assume that the password argument to krb5_get_init_creds_password is
never going to be changed by the library (at least, I would hope so),
but it's not declared const, which requires casts for warning-free code
when the caller has obtained it from a const source (such as pam_get_item).
Subject: SVN Commit
Constify get_init_creds string input params

The get_init_creds functions take read-only string input parameters
for passwords and initial ticket services. Make these const char *
parameters instead of just char * parameters, for caller convenience.

Reported by
Commit By: ghudson
Revision: 25858
Changed Files:
U trunk/src/include/k5-int.h
U trunk/src/include/krb5/krb5.hin
U trunk/src/lib/krb5/krb/get_in_tkt.c
U trunk/src/lib/krb5/krb/gic_keytab.c
U trunk/src/lib/krb5/krb/gic_pwd.c
U trunk/src/lib/krb5/krb/val_renew.c