ticket: 6852
authorghudson <ghudson@dc483132-0cff-0310-8789-dd5450dbe970>
Tue, 25 Jan 2011 00:23:48 +0000 (00:23 +0000)
committerghudson <ghudson@dc483132-0cff-0310-8789-dd5450dbe970>
Tue, 25 Jan 2011 00:23:48 +0000 (00:23 +0000)
commitefa1290ab7a3278f2ede300e47c58a777ccd0bbd
tree6c00d5860e8ba16deaa623949e5a40332f57c196
parent7eb3f6dcabf6ebcc93fdf547e2564211cc8d1c58
ticket: 6852
subject: Make gss_krb5_set_allowable_enctypes work for the acceptor
target_version: 1.9.1
tags: pullup

With the addition of enctype negotiation in 1.7, a gss-krb5 acceptor
can choose an enctype for the acceptor subkey other than the one in
the keytab.  If the resulting security context will be exported and
re-imported by another gss-krb5 implementation (such as one in the
kernel), the acceptor needs a way to restrict the set of negotiated
enctypes to those supported by the other implementation.  We had that
functionality for the initiator already in the form of
gss_krb5_set_allowable_enctypes; this change makes it work for the
acceptor as well.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24603 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/accept_sec_context.c