mirror of
https://github.com/strongswan/strongswan.git
synced 2025-11-15 00:01:42 -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;
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user