fixed load-tester shared key lookup

This commit is contained in:
Martin Willi 2008-12-09 14:45:56 +00:00
parent 7023d49ee1
commit 6144daba9d

View File

@ -280,11 +280,11 @@ static enumerator_t* create_shared_enumerator(private_load_tester_creds_t *this,
{ {
return NULL; return NULL;
} }
if (me && !this->id->matches(this->id, me)) if (me && !me->matches(me, this->id))
{ {
return NULL; return NULL;
} }
if (other && !this->id->matches(this->id, other)) if (other && !other->matches(other, this->id))
{ {
return NULL; return NULL;
} }