gss: make krb5 default GSS mech earlier in path
authorLuke Howard <lukeh@padl.com>
Thu, 26 Dec 2019 13:15:13 +0000 (00:15 +1100)
committerLuke Howard <lukeh@padl.com>
Tue, 4 Feb 2020 06:28:35 +0000 (17:28 +1100)
commit340cc3f0929ecfeba848b638237d5a25bd96f21f
treeb3deb3941f41bcef8e0a71a88ca6f6511f97c7f0
parente69c2a8111defda5983e95b5efe820406f297674
gss: make krb5 default GSS mech earlier in path

Defensively default to GSS_KRB5_MECHANISM on all calls to
gss_init_sec_context() if mech_type is GSS_C_NO_OID (rather than only on the
first call).
lib/gssapi/mech/gss_init_sec_context.c