* gic_pwd.c (krb5_get_as_key_password): If the as_key enctype is already set to
authorKen Raeburn <raeburn@mit.edu>
Mon, 7 Feb 2000 10:32:45 +0000 (10:32 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 7 Feb 2000 10:32:45 +0000 (10:32 +0000)
commitca58609ecd6b2dfdf2337ed60730cbb4e62da722
treebd40934ce945daf745f87681753d529f65b3ae31
parentd47a694b385d8daa810b20d8801b60be8b623b85
* gic_pwd.c (krb5_get_as_key_password): If the as_key enctype is already set to
the correct type, do continue and ask for the password anyways.  (Patch from
Chas Williams, PR krb5-libs/730.)

* preauth2.c (pa_sam): If no sam_flags were set, return KRB5_PREAUTH_BAD_TYPE,
because we don't currently handle that case.

* preauth2.c (pa_sam): Remove unused variable use_sam_key.
(SAMDATA): Cast first result to int, which is what sprintf needs.
(pa_salt): Delete unused variable ret.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12012 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/gic_pwd.c
src/lib/krb5/krb/preauth2.c