make krb5_get_init_creds_keytab work again

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14347 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-11-11 17:50:43 +00:00
parent d8b99337de
commit 993e8c9eea

View File

@@ -476,10 +476,8 @@ krb5_get_init_creds_keytab(krb5_context context,
krb5_keytab_key_proc_args *a;
ret = get_init_creds_common(context, creds, client, start_time,
ctx.in_tkt_service,
options,
&ctx);
if(ret)
in_tkt_service, options, &ctx);
if (ret)
goto out;
a = malloc (sizeof(*a));
@@ -1360,9 +1358,7 @@ krb5_get_init_creds(krb5_context context,
memset(&kdc_reply, 0, sizeof(kdc_reply));
ret = get_init_creds_common(context, creds, client, start_time,
in_tkt_service,
options,
&ctx);
in_tkt_service, options, &ctx);
if (ret)
goto out;