diff options
author | Greg Hudson <ghudson@mit.edu> | 2013-02-11 21:13:15 -0500 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-02-11 21:13:15 -0500 |
commit | 884e040c0478c94585395a03dfbb0bbdee7c5ed4 (patch) | |
tree | f6f47a2bb105de4d5d8032faa95a96ee0bd27c8f | |
parent | 7905cd6a2eddbf264242bb2a85f811878b2da7ab (diff) | |
download | krb5-884e040c0478c94585395a03dfbb0bbdee7c5ed4.tar.gz krb5-884e040c0478c94585395a03dfbb0bbdee7c5ed4.tar.xz krb5-884e040c0478c94585395a03dfbb0bbdee7c5ed4.zip |
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
-rw-r--r-- | 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 15d685d8c0..54433f7035 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; |