UI should lazy init so that init and fini are only called if one
authorAlexandra Ellwood <lxs@mit.edu>
Mon, 29 Sep 2008 18:52:53 +0000 (18:52 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Mon, 29 Sep 2008 18:52:53 +0000 (18:52 +0000)
commitbf461a42b8f2d3fc3769e5166583799de7512a93
tree5dd65eef016bcffa4d94889fe2ca07adbf15a1a8
parent1f48dbbdb2a6edc6718f6c7b349c34043dc45601
UI should lazy init so that init and fini are only called if one
of the UI calls is called.  The problem is that when you call
krb5_get_init_creds_* you don't know if it will call the prompter
or not.  (It won't if the password is saved in the keychain or
if pkinit succeeds.)

ticket: 6055

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20780 dc483132-0cff-0310-8789-dd5450dbe970
src/kim/lib/kim_ui.c
src/kim/lib/kim_ui_private.h
src/kim/lib/mac/kim_os_ui_gui.c