From: | ghudson@mit.edu |
Subject: | git commit |
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(-)