diff options
author | Simo Sorce <simo@redhat.com> | 2015-06-16 15:07:37 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-06-19 16:42:29 -0400 |
commit | 6e4513dc0ebe5ff6643223d35b509464d451b230 (patch) | |
tree | 9b98f07c0ed50ea884702a7c60e8f2f530cadc29 /src/mod_auth_gssapi.h | |
parent | d0732a69720d78a24d1565a38403c12d273d4ac9 (diff) | |
download | mod_auth_gssapi-6e4513dc0ebe5ff6643223d35b509464d451b230.tar.gz mod_auth_gssapi-6e4513dc0ebe5ff6643223d35b509464d451b230.tar.xz mod_auth_gssapi-6e4513dc0ebe5ff6643223d35b509464d451b230.zip |
Better handling of desired_mechs
If no explicit allowed mechanism is set in configuration just ask
GSSAPI for a list of known mechanisms and use that. Do not try to
artificially acquire credentials as ultimatily all that does is
just call gss_inidicate_mechs() internally.
Do not store the result of gss_inidicate_mechs() on cfg->allowed_mechs
as that would lead to a leak given that cfg->allowed_mechs is allocated
on a memory pool, while gss_inidate_mechs()s results are not.
Closes #44
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/mod_auth_gssapi.h')
0 files changed, 0 insertions, 0 deletions