diff options
author | Jouni Malinen <j@w1.fi> | 2008-05-28 09:59:55 +0300 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2008-05-28 09:59:55 +0300 |
commit | 3c724cc564911f9ef217f24dac1fa2b2d8f7d31c (patch) | |
tree | e3a0aa17e7179befaa21fb32e487756bea3cdfb2 /src/eap_server/eap_tls_common.h | |
parent | 34f564dbd5168626da55a7119b04832e98793160 (diff) | |
download | external_wpa_supplicant_8_ti-3c724cc564911f9ef217f24dac1fa2b2d8f7d31c.zip external_wpa_supplicant_8_ti-3c724cc564911f9ef217f24dac1fa2b2d8f7d31c.tar.gz external_wpa_supplicant_8_ti-3c724cc564911f9ef217f24dac1fa2b2d8f7d31c.tar.bz2 |
Do not refer to Flags::Version field as 'PEAP version'
This field is also used for EAP-TTLS and EAP-FAST, so it is clearer to use
a more generic term for it.
Diffstat (limited to 'src/eap_server/eap_tls_common.h')
-rw-r--r-- | src/eap_server/eap_tls_common.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/eap_server/eap_tls_common.h b/src/eap_server/eap_tls_common.h index 4d89f77..424925c 100644 --- a/src/eap_server/eap_tls_common.h +++ b/src/eap_server/eap_tls_common.h @@ -36,7 +36,7 @@ struct eap_ssl_data { #define EAP_TLS_FLAGS_LENGTH_INCLUDED 0x80 #define EAP_TLS_FLAGS_MORE_FRAGMENTS 0x40 #define EAP_TLS_FLAGS_START 0x20 -#define EAP_PEAP_VERSION_MASK 0x07 +#define EAP_TLS_VERSION_MASK 0x07 /* could be up to 128 bytes, but only the first 64 bytes are used */ #define EAP_TLS_KEY_LEN 64 @@ -48,10 +48,8 @@ void eap_server_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data); u8 * eap_server_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data, char *label, size_t len); struct wpabuf * eap_server_tls_build_msg(struct eap_ssl_data *data, - int eap_type, int peap_version, - u8 id); -struct wpabuf * eap_server_tls_build_ack(u8 id, int eap_type, - int peap_version); + int eap_type, int version, u8 id); +struct wpabuf * eap_server_tls_build_ack(u8 id, int eap_type, int version); int eap_server_tls_phase1(struct eap_sm *sm, struct eap_ssl_data *data); int eap_server_tls_reassemble(struct eap_ssl_data *data, u8 flags, const u8 **pos, size_t *left); |