diff --git a/src/charon/credentials/auth_info.c b/src/charon/credentials/auth_info.c index 5e5ba045b..e421c3083 100644 --- a/src/charon/credentials/auth_info.c +++ b/src/charon/credentials/auth_info.c @@ -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)