EAP-FAST server: Add I-ID into PAC-Info
This indicates that the peer identity is associated with the credential and will be required to match with the identity used during authentication when the PAC is used (RFC 5422, 4.2.4).
This commit is contained in:
parent
f9cd8587fb
commit
8cbd92ee29
1 changed files with 5 additions and 0 deletions
|
@ -791,6 +791,11 @@ static struct wpabuf * eap_fast_build_pac(struct eap_sm *sm,
|
||||||
|
|
||||||
/* Note: headers may be misaligned after A-ID */
|
/* Note: headers may be misaligned after A-ID */
|
||||||
|
|
||||||
|
if (sm->identity) {
|
||||||
|
eap_fast_put_tlv(buf, PAC_TYPE_I_ID, sm->identity,
|
||||||
|
sm->identity_len);
|
||||||
|
}
|
||||||
|
|
||||||
/* A-ID-Info (inside PAC-Info) */
|
/* A-ID-Info (inside PAC-Info) */
|
||||||
eap_fast_put_tlv(buf, PAC_TYPE_A_ID_INFO, data->srv_id_info,
|
eap_fast_put_tlv(buf, PAC_TYPE_A_ID_INFO, data->srv_id_info,
|
||||||
srv_id_info_len);
|
srv_id_info_len);
|
||||||
|
|
Loading…
Reference in a new issue