* gssapiP_spnego.h: Add REQUEST_MIC. Add many state variables to
authorTom Yu <tlyu@mit.edu>
Fri, 5 May 2006 01:10:41 +0000 (01:10 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 5 May 2006 01:10:41 +0000 (01:10 +0000)
commitbfa7e2d91b260dd48f4a390eb090278f2fd9fa3a
treeb841d7f134f78d81bb71a8cc464b5a75adad375d
parent15c78a757e97eeb5d9632a5c84434c29fff36609
* gssapiP_spnego.h: Add REQUEST_MIC.  Add many state variables to
spnego_gss_ctx_id_rec.

* spnego_mech.c: New functions acc_ctx_new, acc_ctx_cont,
acc_ctx_vfymic, get_negTokenInit, get_negTokenResp.
(spnego_gss_accept_sec_context): Split into smaller pieces.
Implement RFC 4178 handling of MIC optionality.
(g_get_tag_and_length): Tighten up some length checks.  Take an
int rather than unsigned char for tag.
(make_spnego_tokenTarg_msg): Tweak error handling.  Remove MS_flag
argument.
(negotiate_mech_type): Remove firstMech argument.  Use negResult
to indicate what firstMech used to.
(get_req_flags): Tweak error handling.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mechglue@17978 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/spnego/ChangeLog
src/lib/gssapi/spnego/gssapiP_spnego.h
src/lib/gssapi/spnego/spnego_mech.c