]> git.ipfire.org Git - thirdparty/krb5.git/commit
Use new error message wrapping APIs
authorNicolas Williams <nico@cryptonector.com>
Wed, 12 Nov 2014 21:49:37 +0000 (15:49 -0600)
committerGreg Hudson <ghudson@mit.edu>
Sun, 7 Dec 2014 20:11:01 +0000 (15:11 -0500)
commitebcdf02f8ec212555b1762007fa8454615900f36
tree695c1d16640746a6749f83b01591e4fc9774e936
parent12bf3e3f3ecd58f53d4a604e318766e4264b02c1
Use new error message wrapping APIs

Define internal names k5_prendmsg and k5_wrapmsg and use them where we
amend error messages.  This slightly changes the error message when we
fail to construct FAST AP-REQ armor, decrypt a FAST reply, or store
credentials in a gic_opts output ccache.  Adjust the test suite for
the latter of those changes.

[ghudson@mit.edu: define and use internal names for brevity; pull in
test fix from later commit; expand commit message; fix redundant
separators in LDAP messages]

ticket: 8046
13 files changed:
src/include/k5-int.h
src/lib/kdb/kdb5.c
src/lib/krb5/krb/fast.c
src/lib/krb5/krb/get_in_tkt.c
src/lib/krb5/krb/preauth2.c
src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c
src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h
src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_create.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
src/tests/t_ccache.py