summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/lib/krb5/prompter_posix.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2008-05-07 13:39:42 +0000
committerdfr <dfr@FreeBSD.org>2008-05-07 13:39:42 +0000
commit52bf09d8197dd1ec84e1ab72684f2058f0eae9e1 (patch)
tree07a0d6761d1b42410a27e4c7d583b766d6671f80 /crypto/heimdal/lib/krb5/prompter_posix.c
parent6c68306921f6e85bce52c905cf2606c25acdb436 (diff)
parent51b6601db456e699ea5d4843cbc7239ee92d9c13 (diff)
downloadFreeBSD-src-52bf09d8197dd1ec84e1ab72684f2058f0eae9e1.zip
FreeBSD-src-52bf09d8197dd1ec84e1ab72684f2058f0eae9e1.tar.gz
This commit was generated by cvs2svn to compensate for changes in r178825,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'crypto/heimdal/lib/krb5/prompter_posix.c')
-rw-r--r--crypto/heimdal/lib/krb5/prompter_posix.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/crypto/heimdal/lib/krb5/prompter_posix.c b/crypto/heimdal/lib/krb5/prompter_posix.c
index 4aea3a4..e0f407f 100644
--- a/crypto/heimdal/lib/krb5/prompter_posix.c
+++ b/crypto/heimdal/lib/krb5/prompter_posix.c
@@ -33,9 +33,9 @@
#include "krb5_locl.h"
-RCSID("$Id: prompter_posix.c,v 1.7 2002/09/16 17:32:11 nectar Exp $");
+RCSID("$Id: prompter_posix.c 13863 2004-05-25 21:46:46Z lha $");
-int
+int KRB5_LIB_FUNCTION
krb5_prompter_posix (krb5_context context,
void *data,
const char *name,
@@ -49,9 +49,11 @@ krb5_prompter_posix (krb5_context context,
fprintf (stderr, "%s\n", name);
if (banner)
fprintf (stderr, "%s\n", banner);
+ if (name || banner)
+ fflush(stderr);
for (i = 0; i < num_prompts; ++i) {
if (prompts[i].hidden) {
- if(des_read_pw_string(prompts[i].reply->data,
+ if(UI_UTIL_read_pw_string(prompts[i].reply->data,
prompts[i].reply->length,
prompts[i].prompt,
0))
OpenPOWER on IntegriCloud