gss: add some missing GM_USE_MG_CRED checks
authorLuke Howard <lukeh@padl.com>
Sat, 28 Dec 2019 05:35:04 +0000 (16:35 +1100)
committerLuke Howard <lukeh@padl.com>
Tue, 4 Feb 2020 06:28:35 +0000 (17:28 +1100)
commite80248ed363b11c64d4577f94fb65cdb6712ef5d
tree32d51c5d1ee4d9b368e229e7e97e24914be7c962
parent340cc3f0929ecfeba848b638237d5a25bd96f21f
gss: add some missing GM_USE_MG_CRED checks

GM_USE_MG_CRED allows a mechanism glue credential to be used by a mechanism
without additional wrapping. Although no extant mechanisms use this flag, the
flag had sporadic support in the mechanism glue already. In the interest of
consistency, add missing GM_USE_MG_CRED checks. If this functionality is not
desired, then all checks should be removed.
lib/gssapi/mech/gss_accept_sec_context.c
lib/gssapi/mech/gss_acquire_cred_from.c
lib/gssapi/mech/gss_add_cred_from.c
lib/gssapi/mech/gss_store_cred_into.c