(gss_delete_sec_context): always set `output_token'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7676 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-12-26 18:31:06 +00:00
parent 506689f40a
commit b6cba3532d
2 changed files with 8 additions and 0 deletions

View File

@@ -42,6 +42,10 @@ OM_uint32 gss_delete_sec_context
)
{
gssapi_krb5_init ();
output_token->length = 0;
output_token->value = NULL;
krb5_auth_con_free (gssapi_krb5_context,
(*context_handle)->auth_context);
if((*context_handle)->source)

View File

@@ -42,6 +42,10 @@ OM_uint32 gss_delete_sec_context
)
{
gssapi_krb5_init ();
output_token->length = 0;
output_token->value = NULL;
krb5_auth_con_free (gssapi_krb5_context,
(*context_handle)->auth_context);
if((*context_handle)->source)