Set krb5 ccache only if krb5 is used
authorSimo Sorce <simo@redhat.com>
Sun, 21 Jun 2015 19:06:15 +0000 (15:06 -0400)
committerSimo Sorce <simo@redhat.com>
Sun, 21 Jun 2015 19:06:15 +0000 (15:06 -0400)
commitc18ca3a748d4e963bbfe4a55288c981025b9f076
tree0fed279f1c471d89f9db32ce81d514db0081be38
parentdb999f985dc4357e32db6bcc893aa354d2595c98
Set krb5 ccache only if krb5 is used

Check if the krb5 mechanism is present and only then set the cache, this
avoid wasteful operations if we are not even using krb5.

Signed-off-by: Simo Sorce <simo@redhat.com>
src/mod_auth_gssapi.c