EAP-FAST peer: Fixed not to add PAC Request in PAC Acknowledgement message
authorJouni Malinen <j@w1.fi>
Sun, 19 Oct 2008 07:02:57 +0000 (10:02 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 19 Oct 2008 07:02:57 +0000 (10:02 +0300)
src/eap_peer/eap_fast.c

index 8559ea8..05b28bb 100644 (file)
@@ -1194,7 +1194,7 @@ static int eap_fast_process_decrypted(struct eap_sm *sm,
        }
 
        if (data->current_pac == NULL && data->provisioning &&
-           !data->anon_provisioning) {
+           !data->anon_provisioning && !tlv.pac) {
                /*
                 * Need to request Tunnel PAC when using authenticated
                 * provisioning.