[krbdev.mit.edu #8399] git commit
Tom Yu via RT
rt-comment at krbdev.mit.edu
Fri Apr 29 14:21:33 EDT 2016
Unconstify some krb5 GSS OIDs
gssapi_krb5.h declared some well-known OID constants as pointers to
const gss_OID_desc, which can't be assigned to application-declared
gss_OID variables or passed to GSSAPI functions without causing
warnings.
Declare these OID constants without the const qualifier on
gss_OID_desc, at the expense of some type safety. (Fixing this
"correctly" probably requires some standards revision.)
https://github.com/krb5/krb5/commit/585e8ce503f3b74268059384f07ad9cccf377d49
Author: Tom Yu <tlyu at mit.edu>
Commit: 585e8ce503f3b74268059384f07ad9cccf377d49
Branch: master
src/lib/gssapi/krb5/gssapiP_krb5.h | 2 +-
src/lib/gssapi/krb5/gssapi_krb5.c | 36 ++++++++++++++++++---------------
src/lib/gssapi/krb5/gssapi_krb5.h | 22 ++++++++++----------
src/util/gss-kernel-lib/kernel_gss.c | 5 ++-
4 files changed, 35 insertions(+), 30 deletions(-)
More information about the krb5-bugs
mailing list