use `des_read_pw_string'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2543 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-23 05:54:15 +00:00
parent 641495b450
commit d8d642dbe5
2 changed files with 2 additions and 2 deletions

View File

@@ -305,7 +305,7 @@ krb4encpwd_reply(ap, data, cnt)
realm = krb_realmofhost(hostname);
memmove(challenge, data, cnt);
memset(user_passwd, 0, sizeof(user_passwd));
local_des_read_pw_string(user_passwd, sizeof(user_passwd)-1, "Password: ", 0);
des_read_pw_string(user_passwd, sizeof(user_passwd)-1, "Password: ", 0);
UserPassword = user_passwd;
Challenge = challenge;
strcpy(instance, RemoteHostName);

View File

@@ -362,7 +362,7 @@ rsaencpwd_reply(ap, data, cnt)
ptr += NumEncodeLengthOctets(pubkey_len);
memmove(pubkey, ptr, pubkey_len);
memset(user_passwd, 0, sizeof(user_passwd));
local_des_read_pw_string(user_passwd, sizeof(user_passwd)-1, "Password: ", 0);
des_read_pw_string(user_passwd, sizeof(user_passwd)-1, "Password: ", 0);
UserPassword = user_passwd;
Challenge = challenge;
r = init_rsa_encpwd(&token, user_passwd, challenge, challenge_len, pubkey);