[27567] in CVS-changelog-for-Kerberos-V5
krb5 commit [krb5-1.11]: Fix RFC 5587 const pointer typedefs
daemon@ATHENA.MIT.EDU (Tom Yu)
Tue Feb 12 15:56:07 2013
Date: Tue, 12 Feb 2013 15:56:05 -0500
From: Tom Yu <tlyu@mit.edu>
Message-Id: <201302122056.r1CKu55u022851@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/0dbdec4bb943ff1bcbf53148901501d48c7402cb
commit 0dbdec4bb943ff1bcbf53148901501d48c7402cb
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.
(cherry picked from commit 884e040c0478c94585395a03dfbb0bbdee7c5ed4)
ticket: 7567
version_fixed: 1.11.1
status: resolved
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