diff options
| author | Nalin Dahyabhai <nalin@redhat.com> | 2012-10-09 13:38:48 -0400 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2012-10-15 11:40:14 -0400 |
| commit | 15c8543449010af7ca846fbf1efef699b01792e0 (patch) | |
| tree | 200bd64144fb043becb106cd9a534479f0784f9f /src/plugins | |
| parent | 815da88a734c8a721e94fe0979ee5789b4576d10 (diff) | |
| download | krb5-15c8543449010af7ca846fbf1efef699b01792e0.tar.gz krb5-15c8543449010af7ca846fbf1efef699b01792e0.tar.xz krb5-15c8543449010af7ca846fbf1efef699b01792e0.zip | |
Reset the prompt_types list after calling prompter
Reset the prompt_types list immediately after the prompter callback
returns, as is done everywhere else.
Diffstat (limited to 'src/plugins')
| -rw-r--r-- | 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 a148049160..2f93a86e08 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. */ |
