diff options
| author | Greg Hudson <ghudson@mit.edu> | 2012-09-17 15:08:13 -0400 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2012-09-17 15:08:13 -0400 |
| commit | 1a3b93eff574d6617547602ffc3acea82d660928 (patch) | |
| tree | e2f0108a0d6f8113b1ef6b474f07926b44668424 /src/plugins/locate/python | |
| parent | 5b624ab7388c17cfeae040aa41d0bfc74eca1fc1 (diff) | |
| download | krb5-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/plugins/locate/python')
0 files changed, 0 insertions, 0 deletions
