From 8ea13a45274d9eb97b96cbc2c0c66cb924d45d15 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Wed, 21 Jan 1998 00:34:02 +0000 Subject: [PATCH] Return some error if prompter functions return failure. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4322 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/init_creds_pw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/krb5/init_creds_pw.c b/lib/krb5/init_creds_pw.c index c4f97bcf8..db214209d 100644 --- a/lib/krb5/init_creds_pw.c +++ b/lib/krb5/init_creds_pw.c @@ -415,6 +415,7 @@ krb5_get_init_creds_password(krb5_context context, free (prompt.prompt); if (ret) { memset (buf, 0, sizeof(buf)); + ret = KRB5KDC_ERR_NONE; goto out; } password = password_data.data;