Undo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2462 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -61,12 +61,6 @@ key_proc (krb5_context context,
|
||||
des_read_pw_string (buf, sizeof(buf), "Password: ", 0);
|
||||
password = buf;
|
||||
}
|
||||
if(salt == NULL){
|
||||
(*key)->keyvalue.length = 8;
|
||||
(*key)->keyvalue.data = malloc((*key)->keyvalue.length);
|
||||
des_string_to_key(password, (*key)->keyvalue.data);
|
||||
ret = 0;
|
||||
}else
|
||||
ret = krb5_string_to_key (password, salt, *key);
|
||||
memset (buf, 0, sizeof(buf));
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user