EAP peer: Cache decrypted requests for EAP-SIM/AKA/AKA'
Add an internal flag which indicates to tunneled EAP methods (FAST, PEAP, TTLS) that they should cache decrypted EAP-SIM/AKA/AKA' requests. This allows EAP-SIM/AKA/AKA' to be tunneled within these outer methods while using an external SIM authenticator over the control interface. Signed-off-by: Paul Stewart <pstew@google.com>
This commit is contained in:
parent
c299dea558
commit
ed9b1c16d5
6 changed files with 20 additions and 5 deletions
|
@ -726,7 +726,8 @@ static int eap_peap_phase2_request(struct eap_sm *sm,
|
|||
|
||||
if (*resp == NULL &&
|
||||
(config->pending_req_identity || config->pending_req_password ||
|
||||
config->pending_req_otp || config->pending_req_new_password)) {
|
||||
config->pending_req_otp || config->pending_req_new_password ||
|
||||
config->pending_req_sim)) {
|
||||
wpabuf_free(data->pending_phase2_req);
|
||||
data->pending_phase2_req = wpabuf_alloc_copy(hdr, len);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue