From: Alexandra Ellwood Date: Mon, 10 Mar 2008 19:15:39 +0000 (+0000) Subject: cci_cred_union_compare_to_credentials_union doesn't work for v5 creds X-Git-Tag: krb5-1.7-alpha1~725 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=217302777ab511c28b45a333ac61e36552f8937a;p=krb5.git cci_cred_union_compare_to_credentials_union doesn't work for v5 creds Fixed a bug in cci_cred_union_compare_to_credentials_union where it always returned an error when comparing v5 creds. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20261 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ccapi/common/cci_cred_union.c b/src/ccapi/common/cci_cred_union.c index ae99f88b8..e8e230d49 100644 --- a/src/ccapi/common/cci_cred_union.c +++ b/src/ccapi/common/cci_cred_union.c @@ -1102,7 +1102,7 @@ cc_uint32 cci_cred_union_compare_to_credentials_union (const cred_union !strcmp (old_creds_v5->client, new_creds_v5->client) && !strcmp (old_creds_v5->server, new_creds_v5->server) && (old_creds_v5->starttime == new_creds_v5->starttime)) { - return 1; + equal = 1; } } }