fixed auth_info_t.equals()
authorMartin Willi <martin@strongswan.org>
Wed, 26 Mar 2008 10:58:19 +0000 (10:58 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 26 Mar 2008 10:58:19 +0000 (10:58 -0000)
src/charon/credentials/auth_info.c

index 5e5ba04..e421c30 100644 (file)
@@ -303,7 +303,7 @@ static bool equals(private_auth_info_t *this, private_auth_info_t *other)
        while (e1->enumerate(e1, &i1))
        {
                found = FALSE;
-               e2 = this->items->create_enumerator(this->items);
+               e2 = other->items->create_enumerator(other->items);
                while (e2->enumerate(e2, &i2))
                {
                        if (i1->type == i2->type)