[27116] in CVS-changelog-for-Kerberos-V5
krb5 commit: Reset the prompt_types list after calling prompter
daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Oct 15 11:40:41 2012
Date: Mon, 15 Oct 2012 11:40:37 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201210151540.q9FFebqa001712@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/15c8543449010af7ca846fbf1efef699b01792e0
commit 15c8543449010af7ca846fbf1efef699b01792e0
Author: Nalin Dahyabhai <nalin@redhat.com>
Date: Tue Oct 9 13:38:48 2012 -0400
Reset the prompt_types list after calling prompter
Reset the prompt_types list immediately after the prompter callback
returns, as is done everywhere else.
src/plugins/preauth/pkinit/pkinit_crypto_nss.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/plugins/preauth/pkinit/pkinit_crypto_nss.c b/src/plugins/preauth/pkinit/pkinit_crypto_nss.c
index a148049..2f93a86 100644
--- a/src/plugins/preauth/pkinit/pkinit_crypto_nss.c
+++ b/src/plugins/preauth/pkinit/pkinit_crypto_nss.c
@@ -603,6 +603,7 @@ crypto_pwfn(const char *what, PRBool retry, void *arg)
ret = (*id->pwcb_args.prompter)(id->pwcb_args.context,
id->pwcb_args.prompter_data,
what, answer, 1, &prompt);
+ (*k5int_set_prompt_types)(id->pwcb_args.context, NULL);
answer = NULL;
if ((ret == 0) && (reply.data != NULL)) {
/* The result will be freed with PR_Free, so return a copy. */
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5