(gss_accept_sec_context): always set `output_token'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7678 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-12-26 18:32:08 +00:00
parent 202c4d09e8
commit 35140a374c
2 changed files with 6 additions and 0 deletions

View File

@@ -77,6 +77,9 @@ OM_uint32 gss_accept_sec_context
gssapi_krb5_init ();
output_token->length = 0;
output_token->value = NULL;
if (*context_handle == GSS_C_NO_CONTEXT) {
*context_handle = malloc(sizeof(**context_handle));
if (*context_handle == GSS_C_NO_CONTEXT) {

View File

@@ -77,6 +77,9 @@ OM_uint32 gss_accept_sec_context
gssapi_krb5_init ();
output_token->length = 0;
output_token->value = NULL;
if (*context_handle == GSS_C_NO_CONTEXT) {
*context_handle = malloc(sizeof(**context_handle));
if (*context_handle == GSS_C_NO_CONTEXT) {