[27566] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Fix RFC 5587 const pointer typedefs

daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Feb 12 00:47:24 2013

Date: Tue, 12 Feb 2013 00:47:19 -0500
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201302120547.r1C5lJPa031397@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/884e040c0478c94585395a03dfbb0bbdee7c5ed4
commit 884e040c0478c94585395a03dfbb0bbdee7c5ed4
Author: Greg Hudson <ghudson@mit.edu>
Date:   Mon Feb 11 21:13:15 2013 -0500

    Fix RFC 5587 const pointer typedefs
    
    gss_const_ctx_id_t, gss_const_cred_id_t, and gss_const_name_t are
    supposed to be const pointers to the appropriate structures, not the
    structures themselves.  These are not used by any prototypes yet, and
    no application would have any reason to use them as they are, so it
    should be safe to change them within the public header.
    
    ticket: 7567 (new)
    target_version: 1.11.1
    tags: pullup

 src/lib/gssapi/generic/gssapi.hin |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/gssapi/generic/gssapi.hin b/src/lib/gssapi/generic/gssapi.hin
index 15d685d..54433f7 100644
--- a/src/lib/gssapi/generic/gssapi.hin
+++ b/src/lib/gssapi/generic/gssapi.hin
@@ -838,9 +838,9 @@ gss_set_neg_mechs(
  */
 typedef const gss_buffer_desc *gss_const_buffer_t;
 typedef const struct gss_channel_bindings_struct *gss_const_channel_bindings_t;
-typedef const struct gss_ctx_id_struct gss_const_ctx_id_t;
-typedef const struct gss_cred_id_struct gss_const_cred_id_t;
-typedef const struct gss_name_struct gss_const_name_t;
+typedef const struct gss_ctx_id_struct *gss_const_ctx_id_t;
+typedef const struct gss_cred_id_struct *gss_const_cred_id_t;
+typedef const struct gss_name_struct *gss_const_name_t;
 typedef const gss_OID_desc *gss_const_OID;
 typedef const gss_OID_set_desc *gss_const_OID_set;
 
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post