X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_kerb.cvs%2F.git;a=blobdiff_plain;f=spnegokrb5%2Faccept_sec_context.c;h=1fcbff6601b44f8cd0f3ec251c919e9b2f80ad76;hp=3f713eef73ef9d04f02aa96cd5f7e05f374e0963;hb=a46e335d132634304af61f1205a384b51dce0d33;hpb=50bd29d18e08460c3a2eeed2c95ece18b8aa685a diff --git a/spnegokrb5/accept_sec_context.c b/spnegokrb5/accept_sec_context.c index 3f713ee..1fcbff6 100644 --- a/spnegokrb5/accept_sec_context.c +++ b/spnegokrb5/accept_sec_context.c @@ -37,7 +37,7 @@ code_NegTokenArg(OM_uint32 *minor_status, ret = der_put_length_and_tag(buf + buf_size - buf_len - 1, buf_size - buf_len, buf_len, - CONTEXT, + KERB_CTXT, CONS, 1, &tmp); @@ -163,7 +163,7 @@ send_accept (OM_uint32 *minor_status, return GSS_S_COMPLETE; } -OM_uint32 gss_accept_sec_context_spnego +OM_uint32 KRB5_LIB_FUNCTION gss_accept_sec_context_spnego (OM_uint32 * minor_status, gss_ctx_id_t * context_handle, const gss_cred_id_t acceptor_cred_handle, @@ -194,7 +194,7 @@ OM_uint32 gss_accept_sec_context_spnego if (ret) return ret; - ret = der_match_tag_and_length(buf, buf_size, CONTEXT, CONS, + ret = der_match_tag_and_length(buf, buf_size, KERB_CTXT, CONS, 0, &len, &taglen); if (ret) return ret;