Implement gss_set_neg_mechs
authorGreg Hudson <ghudson@mit.edu>
Wed, 10 Feb 2010 23:44:18 +0000 (23:44 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 10 Feb 2010 23:44:18 +0000 (23:44 +0000)
commit079eed2cf749702f75ddc385cf943fbab931f9d8
treee4e548c13a58a0d4a55c8a37ba3b7405f9b830db
parent11079f43e990d8150870a2c894e17e286f46c96c
Implement gss_set_neg_mechs

Implement gss_set_neg_mechs in SPNEGO by intersecting the provided
mech set with the mechanisms available in the union credential.  As
we now need space to hold the mech set, the SPNEGO credential is now
a structure and not just a mechglue credential.

t_spnego.c is a test program which exercises the new logic.  Like the
other GSSAPI tests, it is not run as part of "make check" at this
time.

ticket: 6658
target_version: 1.8
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23715 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/generic/gssapi.hin
src/lib/gssapi/krb5/gssapi_krb5.c
src/lib/gssapi/libgssapi_krb5.exports
src/lib/gssapi/mechglue/Makefile.in
src/lib/gssapi/mechglue/g_initialize.c
src/lib/gssapi/mechglue/g_set_neg_mechs.c [new file with mode: 0644]
src/lib/gssapi/mechglue/mglueP.h
src/lib/gssapi/spnego/gssapiP_spnego.h
src/lib/gssapi/spnego/spnego_mech.c
src/tests/gssapi/Makefile.in
src/tests/gssapi/t_spnego.c [new file with mode: 0644]