krb5 commit: Define k5_setmsg internal alias

Greg Hudson ghudson at MIT.EDU
Thu Jun 5 11:34:32 EDT 2014


https://github.com/krb5/krb5/commit/06b91d1e2341601e5bdc70a15737187545d68196
commit 06b91d1e2341601e5bdc70a15737187545d68196
Author: Greg Hudson <ghudson at mit.edu>
Date:   Sat May 24 11:38:42 2014 -0400

    Define k5_setmsg internal alias
    
    This is just a shorter internal name for krb5_set_error_message.  The
    full name is so long that we have to wrap error messages more than
    we'd like.

 src/include/k5-int.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 3b6aa9c..83c8759 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -2271,4 +2271,7 @@ krb5_boolean k5_etypes_contains(const krb5_enctype *list, krb5_enctype etype);
 void k5_change_error_message_code(krb5_context ctx, krb5_error_code oldcode,
                                   krb5_error_code newcode);
 
+/* Define a shorter internal name for krb5_set_error_message. */
+#define k5_setmsg krb5_set_error_message
+
 #endif /* _KRB5_INT_H */


More information about the cvs-krb5 mailing list