Switch from using a specific error message context in the TLS to have

a whole krb5_context in TLS. This have some interestion side-effekts
for the configruration setting options since they operate on
per-thread basis now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19031 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-11-13 18:02:57 +00:00
parent a16e0b633c
commit 00bcd44370
39 changed files with 686 additions and 706 deletions

View File

@@ -40,16 +40,17 @@ OM_uint32 _gsskrb5_release_name
gss_name_t * input_name
)
{
krb5_context context;
krb5_principal name = (krb5_principal)*input_name;
GSSAPI_KRB5_INIT ();
if (minor_status)
*minor_status = 0;
GSSAPI_KRB5_INIT (&context);
*input_name = GSS_C_NO_NAME;
krb5_free_principal(_gsskrb5_context, name);
krb5_free_principal(context, name);
return GSS_S_COMPLETE;
}