* kdc_preauth.c (get_etype_info): Initialize length of
authorEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:03:59 +0000 (23:03 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:03:59 +0000 (23:03 +0000)
commit28e4396f34ac3c8caa53b99dc219a8ee3eda412b
treedb554df925c0bdef50b10525498ca6c4730de0f3
parentee69f45f90fdca503b8193c246c895bfd4e1d4c4
* kdc_preauth.c (get_etype_info): Initialize length of
etype_info_entry to KRB5_ETYPE_NO_SALT. Before copying salt into
etype_info_entry, test that salt length (from get_salt_from_key())
is not SALT_TYPE_NO_LENGTH.

* kdc_util.c (get_salt_from_key): Initialize salt type to
SALT_TYPE_NO_LENGTH (instead of -1).

* network.c (process_packet): Cast length in sendto() call to int.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12787 dc483132-0cff-0310-8789-dd5450dbe970
src/kdc/ChangeLog
src/kdc/kdc_preauth.c
src/kdc/kdc_util.c
src/kdc/network.c