pa_* -> KRB5_PADATA_*

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8401 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2000-06-19 15:28:48 +00:00
parent 983c4c2e68
commit def1f13529
2 changed files with 12 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ out:
free (buf);
if(ret)
return ret;
padata->padata_type = pa_tgs_req;
padata->padata_type = KRB5_PADATA_TGS_REQ;
return 0;
}
@@ -191,6 +191,10 @@ init_tgs_req (krb5_context context,
ret = ENOMEM;
goto fail;
}
/* some versions of some code might require that the client be
present in TGS-REQs, but this is clearly against the spec */
ret = copy_PrincipalName(&in_creds->server->name, t->req_body.sname);
if (ret)
goto fail;