Create e_data as pa_data in KDC interfaces
authorGreg Hudson <ghudson@mit.edu>
Tue, 4 Oct 2011 20:16:07 +0000 (20:16 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 4 Oct 2011 20:16:07 +0000 (20:16 +0000)
commitcbb4ede6d5a939f39f3325ad040406ac05c99713
tree70eb9e23b1ac63b45b0596ec70609d742fde45d2
parenta046e6135690f97adfa6bb4065d7367cf6142c40
Create e_data as pa_data in KDC interfaces

All current known uses of e_data are encoded as pa-data or typed-data.
FAST requires that e_data be expressed as pa-data.  Change the DAL and
kdcpreauth interfaces so that e_data is returned as a sequence of
pa-data elements.  Add a preauth module flag to indicate that the
sequence should be encoded as typed-data in non-FAST errors.

ticket: 6969

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25298 dc483132-0cff-0310-8789-dd5450dbe970
22 files changed:
src/include/kdb.h
src/include/krb5/preauth_plugin.h
src/kdc/do_as_req.c
src/kdc/do_tgs_req.c
src/kdc/kdc_preauth.c
src/kdc/kdc_util.c
src/kdc/kdc_util.h
src/kdc/policy.c
src/lib/kdb/Makefile.in
src/lib/kdb/kdb5.c
src/lib/krb5/libkrb5.exports
src/plugins/kdb/db2/kdb_db2.c
src/plugins/kdb/db2/kdb_db2.h
src/plugins/kdb/hdb/kdb_hdb.h
src/plugins/kdb/hdb/kdb_windc.c
src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c
src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h
src/plugins/preauth/pkinit/pkinit.h
src/plugins/preauth/pkinit/pkinit_crypto.h
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
src/plugins/preauth/pkinit/pkinit_lib.c
src/plugins/preauth/pkinit/pkinit_srv.c