Don't bother asking for password if there is no prompter.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25121 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1795,7 +1795,7 @@ krb5_get_init_creds_password(krb5_context context,
|
||||
if (ret)
|
||||
goto out;
|
||||
|
||||
if (ctx->password == NULL && password == NULL) {
|
||||
if (prompter != NULL && ctx->password == NULL && password == NULL) {
|
||||
krb5_prompt prompt;
|
||||
krb5_data password_data;
|
||||
char *p, *q;
|
||||
|
Reference in New Issue
Block a user