diff options
author | Ezra Peisach <epeisach@mit.edu> | 2000-10-17 23:02:10 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2000-10-17 23:02:10 +0000 |
commit | 09a132924649678534304132bf67c87bd662daaf (patch) | |
tree | e7c577a4aa5a01e8d5a66c535c04805f9d01192c /src/lib/kadm5/chpass_util.c | |
parent | b96606c107b3021f71c0f97062a2f317e19c1286 (diff) | |
download | krb5-09a132924649678534304132bf67c87bd662daaf.zip krb5-09a132924649678534304132bf67c87bd662daaf.tar.gz krb5-09a132924649678534304132bf67c87bd662daaf.tar.bz2 |
* admin.h (KADM5_PW_FIRST_PROMPT): Get rid of casts from
error_message to char * - leave them as const char *.
(kadm5_chpass_principal_util): Argument msg_len is unsigned int.
* admin_internal.h (_kadm5_chpass_principal_util): msg_len is
unsigned int.
* chpass_util.c (_kadm5_chpass_principal_util): Change msg_len to
unsigned int. Arhument to krb5_read_password is unsigned int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12784 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kadm5/chpass_util.c')
-rw-r--r-- | src/lib/kadm5/chpass_util.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/kadm5/chpass_util.c b/src/lib/kadm5/chpass_util.c index a991ca0..a3c42bf 100644 --- a/src/lib/kadm5/chpass_util.c +++ b/src/lib/kadm5/chpass_util.c @@ -60,9 +60,10 @@ kadm5_ret_t _kadm5_chpass_principal_util(void *server_handle, char *new_pw, char **ret_pw, char *msg_ret, - int msg_len) + unsigned int msg_len) { - int code, code2, pwsize; + int code, code2; + unsigned int pwsize; static char buffer[255]; char *new_password; kadm5_principal_ent_rec princ_ent; |