From: Martin Willi Date: Wed, 3 Mar 2010 11:25:27 +0000 (+0100) Subject: Check if we are not using a vendor EAP method in EAP_IDENTITY comparison. X-Git-Tag: 4.4.0~259 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa59a7f241c2b71997302b96bdff60098399bfd3;p=thirdparty%2Fstrongswan.git 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. --- diff --git a/src/charon/sa/authenticators/eap_authenticator.c b/src/charon/sa/authenticators/eap_authenticator.c index 16911050a2..4617c4d8d0 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;