]> git.ipfire.org Git - thirdparty/krb5.git/commit
Refactor KDC authdata list management helpers 1036/head
authorGreg Hudson <ghudson@mit.edu>
Wed, 5 Feb 2020 23:46:11 +0000 (18:46 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 6 Feb 2020 20:21:35 +0000 (15:21 -0500)
commitb2190fdc253de6024001e0f1ff9fe56c31042bb7
tree80d422a5d254fbc4a62d92f0c49311ac9b396874
parentd40d7c8ee8d7fb547e45c545365b21a818050130
Refactor KDC authdata list management helpers

Remove the unused concat_authorization_data().  Split merge_authdata()
into two helpers, one to destructively merge without filtering and one
to add copied elements while filtering out KDC-only authdata types.
Remove context parameters where they aren't needed (taking advantage
of knowledge that some libkrb5 functions don't use their context
parameters).
src/kdc/kdc_authdata.c
src/kdc/kdc_util.c
src/kdc/kdc_util.h