aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-12-09 14:45:56 +0000
committerMartin Willi <martin@strongswan.org>2008-12-09 14:45:56 +0000
commit6144daba9da24e1b25592360098b7a2de913cff5 (patch)
tree70191671943b7c8dfb5949f317eb9cf8e16a2870 /src
parent7023d49ee166b17c7bff81ac4673e28a8f422a5d (diff)
downloadstrongswan-6144daba9da24e1b25592360098b7a2de913cff5.tar.bz2
strongswan-6144daba9da24e1b25592360098b7a2de913cff5.tar.xz
fixed load-tester shared key lookup
Diffstat (limited to 'src')
-rw-r--r--src/charon/plugins/load_tester/load_tester_creds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/plugins/load_tester/load_tester_creds.c b/src/charon/plugins/load_tester/load_tester_creds.c
index a2087269d..476a90b9f 100644
--- a/src/charon/plugins/load_tester/load_tester_creds.c
+++ b/src/charon/plugins/load_tester/load_tester_creds.c
@@ -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;
}