summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/mechglue/g_initialize.c
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-09-17 15:08:13 -0400
committerGreg Hudson <ghudson@mit.edu>2012-09-17 15:08:13 -0400
commit1a3b93eff574d6617547602ffc3acea82d660928 (patch)
treee2f0108a0d6f8113b1ef6b474f07926b44668424 /src/lib/gssapi/mechglue/g_initialize.c
parent5b624ab7388c17cfeae040aa41d0bfc74eca1fc1 (diff)
downloadkrb5-1a3b93eff574d6617547602ffc3acea82d660928.tar.gz
krb5-1a3b93eff574d6617547602ffc3acea82d660928.tar.xz
krb5-1a3b93eff574d6617547602ffc3acea82d660928.zip
Simplify gss_inquire_mechs_for_name
Use gss_indicate_mechs instead of gssint_get_mechanisms and gssint_mech_to_oid to iterate over the list of mechanism OIDs. Use a static helper to determine whether a mech supports a name type, avoiding most of the work done in the for loop. Use a cleanup handler. Don't leave partial results in the output parameter on error.
Diffstat (limited to 'src/lib/gssapi/mechglue/g_initialize.c')
0 files changed, 0 insertions, 0 deletions