Skip Menu |
 

From: tlyu@mit.edu
Subject: git commit

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@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(-)