* adm_conn.c, kpasswd.c: Argument to krb5_read_password
authorEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:07:03 +0000 (23:07 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:07:03 +0000 (23:07 +0000)
        takes an unsigned int.

        * kadm5_defs.h, main.c (pwd_change): Argument err_str_len changed
        to unsigned int. (Argument to kadm5_chpass_principal_util()).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12794 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v5passwdd/ChangeLog
src/kadmin/v5passwdd/adm_conn.c
src/kadmin/v5passwdd/kadm5_defs.h
src/kadmin/v5passwdd/kpasswd.c
src/kadmin/v5passwdd/main.c

index 17abeb71d922096408ac1129354bd8b398728b91..09dd461213386dfd9090f909f0277a5be414d5bf 100644 (file)
@@ -1,3 +1,11 @@
+2000-10-17  Ezra Peisach  <epeisach@mit.edu>
+
+       * adm_conn.c, kpasswd.c: Argument to krb5_read_password
+       takes an unsigned int.
+
+       * kadm5_defs.h, main.c (pwd_change): Argument err_str_len changed
+       to unsigned int. (Argument to kadm5_chpass_principal_util()).
+
 2000-07-03  Ezra Peisach  <epeisach@mit.edu>
 
        * Makefile.in: v5passwd does not depend on the kadm5
index 2a3ea585ed8cc62fae031c78aedb9ea01c966309..e19343a08db1e2db399feee6e7fcfbe572c9b88c 100644 (file)
@@ -191,7 +191,7 @@ kadm_get_creds(kcontext, ccache, client, creds, prompt, oldpw, tlife)
     char               *client_name;
     krb5_error_code    kret;
     krb5_address       **my_addresses;
-    int                        old_pwsize;
+    unsigned int       old_pwsize;
     krb5_creds         tcreds;
 
     /* Initialize */
index 17ec2e59525e7a9571c9a83b3b3ea57cb9557c88..92ec7f3417865d3054ff4655005cbd737412dee9 100644 (file)
@@ -260,7 +260,7 @@ krb5_int32 pwd_change
                   krb5_data *,
                   krb5_data *,
                   char [],
-                  int));
+                  unsigned int));
 
 #if 0
 
index f8a04ae8bfea263f309c2849840e174ca93ff2cc..7d57524cd6619293b3fc9ce477296c07419a7b01 100644 (file)
@@ -417,7 +417,7 @@ main(argc, argv)
 
     /* Now - Actually change the password. */
     for (npass_tries = 1; npass_tries <= KPWD_MAX_TRIES; npass_tries++) {
-       int npass_len;
+       unsigned int npass_len;
 
        npass_len = KRB5_ADM_MAX_PASSWORD_LEN;
        if (!(kret = krb5_read_password(kcontext,
index cec5bf821dcb2641b84f24381bf9baba18a305c9..9a4409db46e75dbd132396c8061595c0c6af56c4 100644 (file)
@@ -238,7 +238,7 @@ pwd_change(kcontext, debug_level, auth_context, ticket,
     krb5_data          *olddata;
     krb5_data          *newdata;
     char               err_str[];
-    int                        err_str_len;
+    unsigned int       err_str_len;
 {
      kadm5_ret_t ret;
      krb5_int32                        now;