pull up r23715 from trunk ------------------------------------------------------------------------ r23715 | ghudson | 2010-02-10 18:44:18 -0500 (Wed, 10 Feb 2010) | 14 lines ticket: 6658 subject: Implement gss_set_neg_mechs target_version: 1.8 tags: pullup 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. https://github.com/krb5/krb5/commit/ae151a01c07e223353e5686503aef89fd6c5511a Commit By: tlyu Revision: 23720 Changed Files: U branches/krb5-1-8/src/lib/gssapi/generic/gssapi.hin U branches/krb5-1-8/src/lib/gssapi/krb5/gssapi_krb5.c U branches/krb5-1-8/src/lib/gssapi/libgssapi_krb5.exports U branches/krb5-1-8/src/lib/gssapi/mechglue/Makefile.in U branches/krb5-1-8/src/lib/gssapi/mechglue/g_initialize.c A branches/krb5-1-8/src/lib/gssapi/mechglue/g_set_neg_mechs.c U branches/krb5-1-8/src/lib/gssapi/mechglue/mglueP.h U branches/krb5-1-8/src/lib/gssapi/spnego/gssapiP_spnego.h U branches/krb5-1-8/src/lib/gssapi/spnego/spnego_mech.c U branches/krb5-1-8/src/tests/gssapi/Makefile.in A branches/krb5-1-8/src/tests/gssapi/t_spnego.c