Include authenticator and ticket authdata in gss-api
authorSam Hartman <hartmans@mit.edu>
Thu, 26 Feb 2009 20:07:05 +0000 (20:07 +0000)
committerSam Hartman <hartmans@mit.edu>
Thu, 26 Feb 2009 20:07:05 +0000 (20:07 +0000)
commitf860222766842720a2fbf8d4953c6dcacbe50afc
tree7fe4a756f58b7007c3258767474c07102b3467ef
parent159c4ceaa29e24dff59c7991769ec12007c8e3e9
Include authenticator and ticket authdata in gss-api

Currently, the GSS-API routines for handling authdata only extract the
authorization data from the ticket, not that from the authenticator.
This is incorrect.  Introduce a new function krb5_merge_authadata to
merge two authdata arrays into a newly allocated result array.  Use
this function in accept_sec_context.c to include both sets of
authdata.

ticket: 6400
Target_version: 1.7
Tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22056 dc483132-0cff-0310-8789-dd5450dbe970
src/include/krb5/krb5.hin
src/lib/gssapi/krb5/accept_sec_context.c
src/lib/krb5/krb/copy_auth.c
src/lib/krb5/libkrb5.exports