aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/load_tester
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-10-22 16:44:07 +0200
committerMartin Willi <martin@strongswan.org>2009-10-22 16:44:07 +0200
commitc5f36782ca31118e82c89c5a5010bcd0a37eff20 (patch)
tree9dc609267b5d97385519e4240dfb71f0b9309f6e /src/charon/plugins/load_tester
parent4952dc11da5411a29477c155388bba0a313f21b5 (diff)
downloadstrongswan-c5f36782ca31118e82c89c5a5010bcd0a37eff20.tar.bz2
strongswan-c5f36782ca31118e82c89c5a5010bcd0a37eff20.tar.xz
Hand out shared secret of load tester for all identities
Diffstat (limited to 'src/charon/plugins/load_tester')
-rw-r--r--src/charon/plugins/load_tester/load_tester_creds.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/charon/plugins/load_tester/load_tester_creds.c b/src/charon/plugins/load_tester/load_tester_creds.c
index 4f1e17de1..890703c1a 100644
--- a/src/charon/plugins/load_tester/load_tester_creds.c
+++ b/src/charon/plugins/load_tester/load_tester_creds.c
@@ -52,11 +52,6 @@ struct private_load_tester_creds_t {
* Preshared key
*/
shared_key_t *shared;
-
- /**
- * Identification for shared key
- */
- identification_t *id;
};
/**
@@ -276,14 +271,6 @@ static enumerator_t* create_shared_enumerator(private_load_tester_creds_t *this,
shared_key_type_t type, identification_t *me,
identification_t *other)
{
- if (me && !me->matches(me, this->id))
- {
- return NULL;
- }
- if (other && !other->matches(other, this->id))
- {
- return NULL;
- }
return enumerator_create_single(this->shared, NULL);
}
@@ -295,7 +282,6 @@ static void destroy(private_load_tester_creds_t *this)
DESTROY_IF(this->private);
DESTROY_IF(this->ca);
this->shared->destroy(this->shared);
- this->id->destroy(this->id);
free(this);
}
@@ -321,7 +307,6 @@ load_tester_creds_t *load_tester_creds_create()
this->shared = shared_key_create(SHARED_IKE,
chunk_clone(chunk_create(psk, sizeof(psk))));
- this->id = identification_create_from_string("CN=*, OU=load-test, O=strongSwan");
this->serial = 0;
return &this->public;
}