From d9e19855277fef72df1a7387b1af517403a82ee6 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 2 May 1990 18:31:07 +0000 Subject: [PATCH] only prompt once for user's password git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@681 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/in_tkt_pwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/krb/in_tkt_pwd.c b/src/lib/krb5/krb/in_tkt_pwd.c index 9b9370180..b0c79f27c 100644 --- a/src/lib/krb5/krb/in_tkt_pwd.c +++ b/src/lib/krb5/krb/in_tkt_pwd.c @@ -28,7 +28,7 @@ struct pwd_keyproc_arg { krb5_data password; }; -extern char *krb5_default_pwd_prompt1, *krb5_default_pwd_prompt2; +extern char *krb5_default_pwd_prompt1; /* * key-producing procedure for use by krb5_get_in_tkt_with_password. @@ -53,7 +53,7 @@ OLDDECLARG(krb5_pointer, keyseed) arg = (struct pwd_keyproc_arg *)keyseed; if (!arg->password.length) { if (retval = krb5_read_password(krb5_default_pwd_prompt1, - krb5_default_pwd_prompt2, + 0, pwdbuf, &pwsize)) return retval; arg->password.length = pwsize; -- 2.26.2