HS 2.0R2: Add WFA server-only EAP-TLS peer method
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
df0f01d91f
commit
8e5fdfabf6
6 changed files with 81 additions and 2 deletions
|
@ -23,6 +23,10 @@ static struct wpabuf * eap_tls_msg_alloc(EapType type, size_t payload_len,
|
|||
return eap_msg_alloc(EAP_VENDOR_UNAUTH_TLS,
|
||||
EAP_VENDOR_TYPE_UNAUTH_TLS, payload_len,
|
||||
code, identifier);
|
||||
if (type == EAP_WFA_UNAUTH_TLS_TYPE)
|
||||
return eap_msg_alloc(EAP_VENDOR_WFA_NEW,
|
||||
EAP_VENDOR_WFA_UNAUTH_TLS, payload_len,
|
||||
code, identifier);
|
||||
return eap_msg_alloc(EAP_VENDOR_IETF, type, payload_len, code,
|
||||
identifier);
|
||||
}
|
||||
|
@ -846,6 +850,10 @@ const u8 * eap_peer_tls_process_init(struct eap_sm *sm,
|
|||
pos = eap_hdr_validate(EAP_VENDOR_UNAUTH_TLS,
|
||||
EAP_VENDOR_TYPE_UNAUTH_TLS, reqData,
|
||||
&left);
|
||||
else if (eap_type == EAP_WFA_UNAUTH_TLS_TYPE)
|
||||
pos = eap_hdr_validate(EAP_VENDOR_WFA_NEW,
|
||||
EAP_VENDOR_WFA_UNAUTH_TLS, reqData,
|
||||
&left);
|
||||
else
|
||||
pos = eap_hdr_validate(EAP_VENDOR_IETF, eap_type, reqData,
|
||||
&left);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue