(kadm_ser_cpw): read the key in the strange order it's sent

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6368 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-06-23 17:56:43 +00:00
parent cbe37f24c6
commit 579b6dce9d

View File

@@ -465,7 +465,8 @@ kadm_ser_cpw(krb5_context context,
krb5_warnx(context, "v4-compat %s: cpw %s",
principal_string, principal_string);
ret = message->fetch(message, key, 8);
ret = message->fetch(message, key + 4, 4);
ret = message->fetch(message, key, 4);
ret = krb5_ret_stringz(message, &password);
if(password)