From: John Kohl Date: Wed, 2 May 1990 18:31:07 +0000 (+0000) Subject: only prompt once for user's password X-Git-Tag: krb5-1.0-alpha2~715 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d9e19855277fef72df1a7387b1af517403a82ee6;p=krb5.git only prompt once for user's password git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@681 dc483132-0cff-0310-8789-dd5450dbe970 --- 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;