Pass keytype to krb5_string_to_key().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3525 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -61,7 +61,7 @@ krb5_password_key_proc (krb5_context context,
|
||||
des_read_pw_string (buf, sizeof(buf), "Password: ", 0);
|
||||
password = buf;
|
||||
}
|
||||
ret = krb5_string_to_key (password, salt, *key);
|
||||
ret = krb5_string_to_key (password, salt, type, *key);
|
||||
memset (buf, 0, sizeof(buf));
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user