From aa59a7f241c2b71997302b96bdff60098399bfd3 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 3 Mar 2010 12:25:27 +0100 Subject: [PATCH] Check if we are not using a vendor EAP method in EAP_IDENTITY comparison. Bug reported by Ingo Kubbilun with a patch from Reinhard Pfau, secunet AG. --- src/charon/sa/authenticators/eap_authenticator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charon/sa/authenticators/eap_authenticator.c b/src/charon/sa/authenticators/eap_authenticator.c index 16911050a..4617c4d8d 100644 --- a/src/charon/sa/authenticators/eap_authenticator.c +++ b/src/charon/sa/authenticators/eap_authenticator.c @@ -251,7 +251,7 @@ static eap_payload_t* server_process_eap(private_eap_authenticator_t *this, case NEED_MORE: return out; case SUCCESS: - if (type == EAP_IDENTITY) + if (!vendor && type == EAP_IDENTITY) { chunk_t data;