Ignore:
Timestamp:
Apr 10, 2007, 5:27:38 AM (14 years ago)
Author:
Paul Smedley
Message:

Updated source to 3.0.25rc1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/libads/sasl.c

    r22 r26  
    302302        gss_name_t serv_name;
    303303        gss_buffer_desc input_name;
    304         gss_ctx_id_t context_handle;
     304        gss_ctx_id_t context_handle = GSS_C_NO_CONTEXT;
    305305        gss_OID mech_type = GSS_C_NULL_OID;
    306306        gss_buffer_desc output_token, input_token;
     
    369369        }
    370370
    371         context_handle = GSS_C_NO_CONTEXT;
    372 
    373371        input_token.value = NULL;
    374372        input_token.length = 0;
     
    479477
    480478        gss_release_name(&minor_status, &serv_name);
     479        if (context_handle != GSS_C_NO_CONTEXT)
     480                gss_delete_sec_context(&minor_status, &context_handle, GSS_C_NO_BUFFER);
    481481        krb5_free_principal(ctx, principal);
    482482        krb5_free_context(ctx);
Note: See TracChangeset for help on using the changeset viewer.