only prompt once for user's password
authorJohn Kohl <jtkohl@mit.edu>
Wed, 2 May 1990 18:31:07 +0000 (18:31 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 2 May 1990 18:31:07 +0000 (18:31 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@681 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/in_tkt_pwd.c

index 9b9370180e8de688cbaff62bfb68364933cc0c34..b0c79f27c67bfadcef89bcf06756e132de328933 100644 (file)
@@ -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;