Changeset 1075:54d1cb00331a in freeDiameter for extensions/app_diameap
- Timestamp:
- May 2, 2013, 1:59:58 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- extensions/app_diameap
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_diameap/diameap_eap.c
r1052 r1075 373 373 case EAP_INTEGRITY_CHECK: 374 374 if ((*eap_sm->selectedMethod->eap_method_check)(eap_sm, 375 eap_i->aaaEapRespData) == FALSE)375 &eap_i->aaaEapRespData) == FALSE) 376 376 { 377 377 TRACE_DEBUG(INFO,"%s[EAP Protocol] Invalid EAP packet received {Type=%d, Vendor=%d}. Integrity check failed (non fatal error).",DIAMEAP_EXTENSION,eap_sm->currentMethod,eap_sm->currentVendor); … … 434 434 } 435 435 if ((*eap_sm->selectedMethod->eap_method_process)(eap_sm, 436 eap_i->aaaEapRespData))436 &eap_i->aaaEapRespData)) 437 437 { 438 438 TRACE_DEBUG(INFO,"%s[EAP Protocol] [%s plugin] Authentication process failed.",DIAMEAP_EXTENSION,eap_sm->selectedMethod->methodname); -
extensions/app_diameap/diameap_plugins.c
r1052 r1075 263 263 { 264 264 plugin->eap_method_check = (boolean(*)(struct eap_state_machine *, 265 struct eap_packet )) dlsym(plugin->handler,265 struct eap_packet*)) dlsym(plugin->handler, 266 266 registerplugin->check); 267 267 if (plugin->eap_method_check == NULL) … … 285 285 { 286 286 plugin->eap_method_process = (int(*)(struct eap_state_machine *, 287 struct eap_packet )) dlsym(plugin->handler,287 struct eap_packet*)) dlsym(plugin->handler, 288 288 registerplugin->process); 289 289 if (plugin->eap_method_process == NULL) -
extensions/app_diameap/libdiameap.h
r610 r1075 110 110 int (*eap_method_getTimeout)(struct eap_state_machine *smd, int * timeout); /* address of the eap_method_getTimeout method */ 111 111 boolean (*eap_method_check)(struct eap_state_machine *smd, 112 struct eap_packet eapRespData); /* address of the eap_method_check method */112 struct eap_packet * eapRespData); /* address of the eap_method_check method */ 113 113 int (*eap_method_process)(struct eap_state_machine *smd, 114 struct eap_packet eapRespData); /* address of the eap_method_process method */114 struct eap_packet * eapRespData); /* address of the eap_method_process method */ 115 115 boolean (*eap_method_isDone)(struct eap_state_machine *smd); /* address of the eap_method_isDone method */ 116 116 int (*eap_method_getKey)(struct eap_state_machine *smd, u8 ** msk,int *msklength,
Note: See TracChangeset
for help on using the changeset viewer.