gssalloc-related fixes to naming_exts.c
authorSam Hartman <hartmans@mit.edu>
Mon, 17 Oct 2011 00:45:30 +0000 (00:45 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 17 Oct 2011 00:45:30 +0000 (00:45 +0000)
commit4e622eba280aff40b444083a758b388f58e6fbf6
tree36564b7ff4b03224077e7649edb28c55a3459f4b
parent4f9e448d70ef3609d3cab3790e2be64ace0ecb37
gssalloc-related fixes to naming_exts.c

renamed kg_data_list_to_buffer_set_nocopy to data_list_buffer_set
(since nocopy is no longer guaranteed).
removed extra indirection to input krb5_data list.
ensured input krb5_data list is always completely freed.
no longer returns EINVAL when output buffer set is NULL.
fixed krb5_gss_get_name_attribute to use data_to_gss.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25358 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/naming_exts.c