remove checks that are done by the previous function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21459 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -555,23 +555,16 @@ acceptor_start
|
|||||||
int get_mic = 0;
|
int get_mic = 0;
|
||||||
int first_ok = 0;
|
int first_ok = 0;
|
||||||
|
|
||||||
if (src_name)
|
|
||||||
*src_name = GSS_C_NO_NAME;
|
|
||||||
|
|
||||||
mech_output_token.value = NULL;
|
mech_output_token.value = NULL;
|
||||||
mech_output_token.length = 0;
|
mech_output_token.length = 0;
|
||||||
mech_buf.value = NULL;
|
mech_buf.value = NULL;
|
||||||
|
|
||||||
if (*context_handle == GSS_C_NO_CONTEXT) {
|
if (input_token_buffer->length == 0) {
|
||||||
ret = _gss_spnego_alloc_sec_context(minor_status,
|
return send_supported_mechs (minor_status, output_token);
|
||||||
context_handle);
|
|
||||||
if (ret != GSS_S_COMPLETE)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
if (input_token_buffer->length == 0) {
|
ret = _gss_spnego_alloc_sec_context(minor_status, context_handle);
|
||||||
return send_supported_mechs (minor_status, output_token);
|
if (ret != GSS_S_COMPLETE)
|
||||||
}
|
return ret;
|
||||||
}
|
|
||||||
|
|
||||||
ctx = (gssspnego_ctx)*context_handle;
|
ctx = (gssspnego_ctx)*context_handle;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user