(gss_accept_sec_context): set target in context_handle
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7920 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -152,6 +152,14 @@ gss_accept_sec_context
|
|||||||
goto failure;
|
goto failure;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kret = krb5_copy_principal (gssapi_krb5_context,
|
||||||
|
ticket->server,
|
||||||
|
&(*context_handle)->target);
|
||||||
|
if (kret) {
|
||||||
|
ret = GSS_S_FAILURE;
|
||||||
|
goto failure;
|
||||||
|
}
|
||||||
|
|
||||||
if (src_name) {
|
if (src_name) {
|
||||||
kret = krb5_copy_principal (gssapi_krb5_context,
|
kret = krb5_copy_principal (gssapi_krb5_context,
|
||||||
ticket->client,
|
ticket->client,
|
||||||
|
@@ -152,6 +152,14 @@ gss_accept_sec_context
|
|||||||
goto failure;
|
goto failure;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kret = krb5_copy_principal (gssapi_krb5_context,
|
||||||
|
ticket->server,
|
||||||
|
&(*context_handle)->target);
|
||||||
|
if (kret) {
|
||||||
|
ret = GSS_S_FAILURE;
|
||||||
|
goto failure;
|
||||||
|
}
|
||||||
|
|
||||||
if (src_name) {
|
if (src_name) {
|
||||||
kret = krb5_copy_principal (gssapi_krb5_context,
|
kret = krb5_copy_principal (gssapi_krb5_context,
|
||||||
ticket->client,
|
ticket->client,
|
||||||
|
Reference in New Issue
Block a user