use krb5_make_principal

This commit is contained in:
Love Hornquist Astrand
2009-10-04 11:29:43 -07:00
parent ba8b14ebbc
commit 9e13b309d9

View File

@@ -297,13 +297,12 @@ do_delegation (krb5_context context,
if (kret) if (kret)
goto out; goto out;
kret = krb5_build_principal(context, kret = krb5_make_principal(context,
&creds.server, &creds.server,
strlen(creds.client->realm), creds.client->realm,
creds.client->realm, KRB5_TGS_NAME,
KRB5_TGS_NAME, creds.client->realm,
creds.client->realm, NULL);
NULL);
if (kret) if (kret)
goto out; goto out;