Created
October 12, 2014 06:28
-
-
Save syakesaba/ca2830eb2580cba6e89f to your computer and use it in GitHub Desktop.
hostapd-wpe ユーザの見える化
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/USER | |
1097 | |
1098 | |
1099 static void eap_ttls_process_msg(struct eap_sm *sm, void *priv, | |
1100 > > > > const struct wpabuf *respData) | |
1101 { | |
1102 > struct eap_ttls_data *data = priv; | |
1103 | |
1104 > switch (data->state) { | |
1105 > case PHASE1: | |
1106 wpe_log_file_and_stdout("\nUSER :\t"); | |
1107 int x; | |
1108 for (x=0; x<sm->identity_len; x++) | |
1109 wpe_log_file_and_stdout("%c",sm->identity[x]); | |
1110 wpe_log_file_and_stdout("\n"); | |
1111 > > if (eap_server_tls_phase1(sm, &data->ssl) < 0) | |
1112 > > > eap_ttls_state(data, FAILURE); | |
1113 > > break; | |
1114 > case PHASE2_START: | |
1115 > case PHASE2_METHOD: | |
1116 > > eap_ttls_process_phase2(sm, data, data->ssl.tls_in); | |
1117 > > eap_ttls_start_tnc(sm, data); | |
1118 > > break; | |
1119 > case PHASE2_MSCHAPV2_RESP: | |
eap_server_ttls.c |
include "wpe/wpe.h"
も忘れず
u8 無いよ!て言われたらtypedefしよう
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TLS,TTLS,PEAP,AKAも同様に。