Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit
Download (untitled) / with headers
text/plain 1.1KiB

Add new error message wrapping APIs

Add four new public APIs for wrapping error messages:
krb5_prepend_error_message, krb5_vprepend_error_message,
krb5_wrap_error_message, and krb5_vwrap_error_message. The first two
functions are from Heimdal and allow a prefix to be added to the
existing message for a code. The latter two functions also allow the
code to be changed.

[ghudson@mit.edu: rename krb5_prepend_error_message2 to
krb5_wrap_error_message; clarify doxygen comments and put them in the
proper form; implement krb5_prepend_error_message in terms of
krb5_wrap_error_message; fix leak and null context handling in
krb5_wrap_error_message; rewrite commit message]

https://github.com/krb5/krb5/commit/12bf3e3f3ecd58f53d4a604e318766e4264b02c1
Author: Nicolas Williams <nico@cryptonector.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 12bf3e3f3ecd58f53d4a604e318766e4264b02c1
Branch: master
doc/appdev/refs/api/index.rst | 4 ++
src/include/krb5/krb5.hin | 79 +++++++++++++++++++++++++++++++++++++++++
src/lib/krb5/krb/kerrs.c | 44 +++++++++++++++++++++++
src/lib/krb5/libkrb5.exports | 4 ++
src/lib/krb5_32.def | 6 +++
5 files changed, 137 insertions(+), 0 deletions(-)
From: ghudson@mit.edu
Subject: git commit
Download (untitled) / with headers
text/plain 1.6KiB

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 <nico@cryptonector.com>
Committer: Greg Hudson <ghudson@mit.edu>
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(-)