projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
581a8cd
)
EAP-FAST: Include Tunnel PAC request only after EAP authentication
author
Jouni Malinen
<jouni.malinen@atheros.com>
Thu, 6 Nov 2008 19:07:53 +0000
(21:07 +0200)
committer
Jouni Malinen
<j@w1.fi>
Thu, 6 Nov 2008 19:07:53 +0000
(21:07 +0200)
src/eap_peer/eap_fast.c
patch
|
blob
|
history
diff --git
a/src/eap_peer/eap_fast.c
b/src/eap_peer/eap_fast.c
index
05b28bb
..
4c774a4
100644
(file)
--- a/
src/eap_peer/eap_fast.c
+++ b/
src/eap_peer/eap_fast.c
@@
-1194,7
+1194,9
@@
static int eap_fast_process_decrypted(struct eap_sm *sm,
}
if (data->current_pac == NULL && data->provisioning &&
- !data->anon_provisioning && !tlv.pac) {
+ !data->anon_provisioning && !tlv.pac &&
+ (tlv.iresult == EAP_TLV_RESULT_SUCCESS ||
+ tlv.result == EAP_TLV_RESULT_SUCCESS)) {
/*
* Need to request Tunnel PAC when using authenticated
* provisioning.