From f5da9fe515dc26e8dbe858800c9d047ac151a16e Mon Sep 17 00:00:00 2001 From: kouril Date: Tue, 27 Apr 2004 12:12:06 +0000 Subject: [PATCH] basicaly typos --- src/mod_auth_kerb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mod_auth_kerb.c b/src/mod_auth_kerb.c index e4d1dfc..175bbf1 100644 --- a/src/mod_auth_kerb.c +++ b/src/mod_auth_kerb.c @@ -1020,7 +1020,8 @@ get_gss_creds(request_rec *r, { krb5_gss_cred_id_t gss_creds = (krb5_gss_cred_id_t) *server_creds; - if (gss_creds && gss_creds->rcache && gss_creds->ops->type && + if (gss_creds && gss_creds->rcache && gss_creds->rcache->ops && + gss_creds->rcache->ops->type && memcmp(gss_creds->rcache->ops->type, "dfl", 3) == 0) /* Override the rcache operations */ gss_creds->rcache->ops = &mod_auth_kerb_rc_ops; -- 2.1.4