cci_cred_union_compare_to_credentials_union doesn't work for v5 creds
authorAlexandra Ellwood <lxs@mit.edu>
Mon, 10 Mar 2008 19:15:39 +0000 (19:15 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Mon, 10 Mar 2008 19:15:39 +0000 (19:15 +0000)
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

src/ccapi/common/cci_cred_union.c

index ae99f88b89be038f57c1e1ec1dbb71dd50882de8..e8e230d49d4cac3639eedd5d46fdb852e231df65 100644 (file)
@@ -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;
             }
         }
     }