(krb5_string_to_key): unconst password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15479 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1174,7 +1174,7 @@ krb5_string_to_key (krb5_context context,
|
||||
krb5_keyblock *key)
|
||||
{
|
||||
krb5_data pw;
|
||||
pw.data = (void*)password;
|
||||
pw.data = rk_UNCONST(password);
|
||||
pw.length = strlen(password);
|
||||
return krb5_string_to_key_data(context, enctype, pw, principal, key);
|
||||
}
|
||||
|
Reference in New Issue
Block a user