* prompter.c (krb5_prompter_posix): Rewrite to no longer use
authorTom Yu <tlyu@mit.edu>
Wed, 5 Feb 2003 03:57:22 +0000 (03:57 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 5 Feb 2003 03:57:22 +0000 (03:57 +0000)
commitba1b65dde3a9355ac612684bec747b0b508d93d0
treebce41a66010e2192bf524510d82b3d1fabf59491
parent47df13c713c98329b9bc8eba1fb50d3914653f37
* prompter.c (krb5_prompter_posix): Rewrite to no longer use
longjmp(), as well as to get a non-buffered stdio stream on stdin
to avoid passwords staying around in stdio buffers.  This does
have the side effect of possibly losing pre-buffered input from an
application that reads from stdin using stdio functions prior to
calling the prompter, but hopefully those are rare.

ticket: 673
ticket: 680

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15151 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/ChangeLog
src/lib/krb5/configure.in
src/lib/krb5/os/ChangeLog
src/lib/krb5/os/prompter.c