strange and kludgey copying of creds before calling `extract_ticket'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2859 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-08-09 01:15:05 +00:00
parent c4f7020b3a
commit 802cdd35e9

View File

@@ -237,6 +237,11 @@ krb5_get_kdc_cred(krb5_context context,
memset(&rep, 0, sizeof(rep));
if(decode_TGS_REP(resp.data, resp.length, &rep.part1, &len) == 0){
krb5_copy_creds_contents (context,
in_creds,
*out_creds);
#if 0
krb5_copy_principal (context,
in_creds->client,
&(*out_creds)->client);
@@ -244,7 +249,7 @@ krb5_get_kdc_cred(krb5_context context,
krb5_copy_principal (context,
in_creds->server,
&(*out_creds)->server);
#endif
ret = extract_ticket(context,
&rep,