When NULL is passed into krb_get_in_pw_tkt, we only want to prompt once
authorRuss Allbery <rra@stanford.edu>
Wed, 14 Jun 2006 20:31:52 +0000 (20:31 +0000)
committerRuss Allbery <rra@stanford.edu>
Wed, 14 Jun 2006 20:31:52 +0000 (20:31 +0000)
commitbe90bd0175d48b2ef3685b7f120e52dad6c42822
treed824074ce38c09fb8df27169f8af15c6f88d90c1
parentf038cc46f0746015f768bfaf3bb6b200a970cbb8
When NULL is passed into krb_get_in_pw_tkt, we only want to prompt once
for the password rather than passing NULL along to each string to key
function causing each to prompt independently.  Modify krb_get_in_pw_tkt
to call des_read_pw_string directly and then pass the resulting password
into each string to key function as needed.  Add a prototype of
des_read_pw_string to krb4int.h since it's an exported function of
libdes425 but isn't prototyped in des.h.

Ticket: 2648
Version_Reported: 1.3.3
Component: krb5-libs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18129 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb4/g_in_tkt.c
src/lib/krb4/krb4int.h