(gss_accept_sec_context): use krb5_rd_cred2 instead of krb5_rd_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9466 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997 - 2001 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -287,10 +287,10 @@ gss_accept_sec_context
|
|||||||
goto end_fwd;
|
goto end_fwd;
|
||||||
}
|
}
|
||||||
|
|
||||||
kret = krb5_rd_cred(gssapi_krb5_context,
|
kret = krb5_rd_cred2(gssapi_krb5_context,
|
||||||
(*context_handle)->auth_context,
|
(*context_handle)->auth_context,
|
||||||
ccache,
|
ccache,
|
||||||
&fwd_data);
|
&fwd_data);
|
||||||
if (kret) {
|
if (kret) {
|
||||||
flags &= ~GSS_C_DELEG_FLAG;
|
flags &= ~GSS_C_DELEG_FLAG;
|
||||||
goto end_fwd;
|
goto end_fwd;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997 - 2001 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -287,10 +287,10 @@ gss_accept_sec_context
|
|||||||
goto end_fwd;
|
goto end_fwd;
|
||||||
}
|
}
|
||||||
|
|
||||||
kret = krb5_rd_cred(gssapi_krb5_context,
|
kret = krb5_rd_cred2(gssapi_krb5_context,
|
||||||
(*context_handle)->auth_context,
|
(*context_handle)->auth_context,
|
||||||
ccache,
|
ccache,
|
||||||
&fwd_data);
|
&fwd_data);
|
||||||
if (kret) {
|
if (kret) {
|
||||||
flags &= ~GSS_C_DELEG_FLAG;
|
flags &= ~GSS_C_DELEG_FLAG;
|
||||||
goto end_fwd;
|
goto end_fwd;
|
||||||
|
Reference in New Issue
Block a user