From: Greg Hudson Date: Tue, 19 Jun 2012 01:40:44 +0000 (-0400) Subject: Fix config check in krb5_cccol_have_content X-Git-Tag: krb5-1.11-alpha1~490 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2c55a8fe63e67dd8389fb30e8b8103e83124cec;p=thirdparty%2Fkrb5.git Fix config check in krb5_cccol_have_content krb5_is_config_principal should be invoked on creds.server, not creds.client. ticket: 7173 --- diff --git a/src/lib/krb5/ccache/cccursor.c b/src/lib/krb5/ccache/cccursor.c index 2b1893a6c4..e156112483 100644 --- a/src/lib/krb5/ccache/cccursor.c +++ b/src/lib/krb5/ccache/cccursor.c @@ -237,7 +237,7 @@ krb5_cccol_have_content(krb5_context context) continue; while (!found && !krb5_cc_next_cred(context, cache, &cache_cursor, &creds)) { - if (!krb5_is_config_principal(context, creds.client)) + if (!krb5_is_config_principal(context, creds.server)) found = TRUE; krb5_free_cred_contents(context, &creds); }