diff options
author | Martin Willi <martin@revosec.ch> | 2010-03-03 12:25:27 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-03-03 12:28:38 +0100 |
commit | aa59a7f241c2b71997302b96bdff60098399bfd3 (patch) | |
tree | 0bea07ffc3b8bd01dcb7ac859b14086d520547db /src | |
parent | 1abab9ec4f69fa9629df2e0b6b0b68ab48efc1ce (diff) | |
download | strongswan-aa59a7f241c2b71997302b96bdff60098399bfd3.tar.bz2 strongswan-aa59a7f241c2b71997302b96bdff60098399bfd3.tar.xz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/charon/sa/authenticators/eap_authenticator.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |