* kdb_xdr.c (krb5_encode_princ_contents): Use krb5_ui_2 instead of
authorEzra Peisach <epeisach@mit.edu>
Fri, 26 Oct 2001 15:30:25 +0000 (15:30 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 26 Oct 2001 15:30:25 +0000 (15:30 +0000)
krb5_int16 for key_data_length.

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

src/lib/kdb/ChangeLog
src/lib/kdb/kdb_xdr.c

index 06cc187407dde38052c40aacde9607b1cd323ecb..41eeaf85f1c618ec38ea9f83624ab7cdd4eb4e7e 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-26  Ezra Peisach  <epeisach@mit.edu>
+
+       * kdb_xdr.c (krb5_encode_princ_contents): Use krb5_ui_2 instead of
+       krb5_int16 for key_data_length.
+
 2001-10-22  Tom Yu  <tlyu@mit.edu>
 
        * kdb_xdr.c (krb5_dbe_search_enctype): Filter out enctypes that
index b836e250c0938bd455c850037e554e437c4c7e51..adcfbd758584274ec56fac5e3038ca382b440bc1 100644 (file)
@@ -428,7 +428,7 @@ krb5_encode_princ_contents(context, content, entry)
 
        for (j = 0; j < entry->key_data[i].key_data_ver; j++) {
            krb5_int16 type = entry->key_data[i].key_data_type[j];
-           krb5_int16 length = entry->key_data[i].key_data_length[j];
+           krb5_ui_2  length = entry->key_data[i].key_data_length[j];
 
            krb5_kdb_encode_int16(type, nextloc);
            nextloc += 2;