"padata". It was accidentally used in r18641 instead of
preauth_to_use when sorting the received padata sequence, causing the
sort to be a no-op. Sort the correct sequence and eliminate the
unused local variable.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22193
dc483132-0cff-0310-8789-
dd5450dbe970
krb5_keyblock * decrypt_key = 0;
krb5_kdc_req request;
krb5_data *encoded_request;
- krb5_pa_data **padata = 0;
krb5_error * err_reply;
krb5_kdc_rep * as_reply = 0;
krb5_pa_data ** preauth_to_use = 0;
goto cleanup;
retval = sort_krb5_padata_sequence(context,
&request.server->realm,
- padata);
+ preauth_to_use);
if (retval)
goto cleanup;
continue;
krb5_free_addresses(context, request.addresses);
if (request.padata)
krb5_free_pa_data(context, request.padata);
- if (padata)
- krb5_free_pa_data(context, padata);
if (preauth_to_use)
krb5_free_pa_data(context, preauth_to_use);
if (decrypt_key)