Yet more double colon password prompts
authorSam Hartman <hartmans@mit.edu>
Tue, 3 Jun 2003 21:45:03 +0000 (21:45 +0000)
committerSam Hartman <hartmans@mit.edu>
Tue, 3 Jun 2003 21:45:03 +0000 (21:45 +0000)
More places in the code with password prompts needing fixing to not
include colon.

Ticket: new
Target_Version: 1.3
Tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15552 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb4/ChangeLog
src/lib/krb4/g_pw_in_tkt.c
src/lib/krb4/password_to_key.c

index d7215914124383f1a28797098b20d63689d1bfb8..6c917452e7f2509ab2b734c29236a70dbceb550d 100644 (file)
@@ -1,5 +1,10 @@
 2003-06-03  Sam Hartman  <hartmans@mit.edu>
 
+       * g_pw_in_tkt.c (passwd_to_key): Fix password prompt
+
+       * password_to_key.c (mit_passwd_to_key): Fix password prompt
+       (afs_passwd_to_key): Fix password prompt
+
        * g_in_tkt.c (krb_get_in_tkt_preauth_creds): Keep copy of
        ciphertext while trying different keyprocs 
 
index 494a05951b618d570b64a2ee5ca75b558ab5fa6e..d68781857c3bc54f2ee6da020ae0d3fdb77c0d14 100644 (file)
@@ -79,7 +79,7 @@ passwd_to_key(user,instance,realm,passwd,key)
     if (passwd)
         string_to_key(passwd, key);
     else {
-        des_read_password((des_cblock *)key, "Password", 0);
+        des_read_password((des_cblock *)key, "Password", 0);
     }
 #endif /* NOENCRYPTION */
 #endif /* unix */
index 56b5f8e04dad0b85d880463af9cefb57f6ab7ae8..21b91ad322c808a7ad69a57579663f5511d1bbef 100644 (file)
@@ -90,7 +90,7 @@ mit_passwd_to_key(
         des_string_to_key(passwd, key);
     } else {
 #if !(defined(_WIN32) || defined(USE_LOGIN_LIBRARY))
-        des_read_password((des_cblock *)key, "Password: ", 0);
+        des_read_password((des_cblock *)key, "Password ", 0);
 #else
         return (-1);
 #endif
@@ -143,7 +143,7 @@ afs_passwd_to_key(
         afs_string_to_key(passwd, realm, key);
     } else {
 #if !(defined(_WIN32) || defined(USE_LOGIN_LIBRARY))
-        des_read_password((des_cblock *)key, "Password: ", 0);
+        des_read_password((des_cblock *)key, "Password ", 0);
 #else
         return (-1);
 #endif