Return some error if prompter functions return failure.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4322 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-01-21 00:34:02 +00:00
parent 31a1f7d4ca
commit 8ea13a4527

View File

@@ -415,6 +415,7 @@ krb5_get_init_creds_password(krb5_context context,
free (prompt.prompt); free (prompt.prompt);
if (ret) { if (ret) {
memset (buf, 0, sizeof(buf)); memset (buf, 0, sizeof(buf));
ret = KRB5KDC_ERR_NONE;
goto out; goto out;
} }
password = password_data.data; password = password_data.data;