Load-testers PSK is used for all purposes, including EAP authentication
authorMartin Willi <martin@strongswan.org>
Tue, 20 Oct 2009 13:54:13 +0000 (15:54 +0200)
committerMartin Willi <martin@strongswan.org>
Tue, 20 Oct 2009 13:54:13 +0000 (15:54 +0200)
src/charon/plugins/load_tester/load_tester_creds.c

index 239a104..4f1e17d 100644 (file)
@@ -276,10 +276,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 (type != SHARED_ANY && type != SHARED_IKE)
-       {
-               return NULL;
-       }
        if (me && !me->matches(me, this->id))
        {
                return NULL;