EAP-FAST: Allow A-ID and A-ID-Info to be configured separately

Changed EAP-FAST configuration to use separate fields for A-ID and
A-ID-Info (eap_fast_a_id_info) to allow A-ID to be set to a fixed
16-octet len binary value for better interoperability with some peer
implementations; eap_fast_a_id is now configured as a hex string.
This commit is contained in:
Jouni Malinen 2008-10-19 09:55:59 +03:00
parent 2100a768bf
commit 2d86724409
14 changed files with 132 additions and 26 deletions

View file

@ -171,7 +171,9 @@ struct eap_sm {
u8 *peer_challenge;
u8 *pac_opaque_encr_key;
char *eap_fast_a_id;
u8 *eap_fast_a_id;
size_t eap_fast_a_id_len;
char *eap_fast_a_id_info;
enum {
NO_PROV, ANON_PROV, AUTH_PROV, BOTH_PROV
} eap_fast_prov;