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] https://github.com/krb5/krb5/commit/ebcdf02f8ec212555b1762007fa8454615900f36 Author: Nicolas Williams Committer: Greg Hudson Commit: ebcdf02f8ec212555b1762007fa8454615900f36 Branch: master src/include/k5-int.h | 4 ++- src/lib/kdb/kdb5.c | 13 +++-------- src/lib/krb5/krb/fast.c | 16 +++---------- src/lib/krb5/krb/get_in_tkt.c | 8 +----- src/lib/krb5/krb/preauth2.c | 6 +---- src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c | 22 +++---------------- src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h | 9 ++++--- src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c | 4 +- src/plugins/kdb/ldap/libkdb_ldap/ldap_create.c | 6 +--- src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c | 8 ++---- src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c | 3 +- src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c | 13 +++++------ src/tests/t_ccache.py | 2 +- 13 files changed, 38 insertions(+), 76 deletions(-)