mirror of
https://github.com/strongswan/strongswan.git
synced 2025-11-13 00:00:38 -05:00
fixed load-tester shared key lookup
This commit is contained in:
parent
7023d49ee1
commit
6144daba9d
@ -280,11 +280,11 @@ static enumerator_t* create_shared_enumerator(private_load_tester_creds_t *this,
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
if (me && !this->id->matches(this->id, me))
|
||||
if (me && !me->matches(me, this->id))
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
if (other && !this->id->matches(this->id, other))
|
||||
if (other && !other->matches(other, this->id))
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user