]> git.ipfire.org Git - thirdparty/krb5.git/commit
Unconstify some krb5 GSS OIDs 444/head
authorTom Yu <tlyu@mit.edu>
Thu, 28 Apr 2016 20:44:21 +0000 (16:44 -0400)
committerTom Yu <tlyu@mit.edu>
Thu, 28 Apr 2016 22:29:44 +0000 (18:29 -0400)
commit585e8ce503f3b74268059384f07ad9cccf377d49
treeb6f879b0319bfc3a7455366df44d68f69f2c7e15
parent12cc2b9dab45b05c13642c2b4b0ce0d3191663c7
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.)

ticket: 8399 (new)
src/lib/gssapi/krb5/gssapiP_krb5.h
src/lib/gssapi/krb5/gssapi_krb5.c
src/lib/gssapi/krb5/gssapi_krb5.h
src/util/gss-kernel-lib/kernel_gss.c