(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:
@@ -42,6 +42,10 @@ OM_uint32 gss_delete_sec_context
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
gssapi_krb5_init ();
|
gssapi_krb5_init ();
|
||||||
|
|
||||||
|
output_token->length = 0;
|
||||||
|
output_token->value = NULL;
|
||||||
|
|
||||||
krb5_auth_con_free (gssapi_krb5_context,
|
krb5_auth_con_free (gssapi_krb5_context,
|
||||||
(*context_handle)->auth_context);
|
(*context_handle)->auth_context);
|
||||||
if((*context_handle)->source)
|
if((*context_handle)->source)
|
||||||
|
@@ -42,6 +42,10 @@ OM_uint32 gss_delete_sec_context
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
gssapi_krb5_init ();
|
gssapi_krb5_init ();
|
||||||
|
|
||||||
|
output_token->length = 0;
|
||||||
|
output_token->value = NULL;
|
||||||
|
|
||||||
krb5_auth_con_free (gssapi_krb5_context,
|
krb5_auth_con_free (gssapi_krb5_context,
|
||||||
(*context_handle)->auth_context);
|
(*context_handle)->auth_context);
|
||||||
if((*context_handle)->source)
|
if((*context_handle)->source)
|
||||||
|
Reference in New Issue
Block a user