equal
deleted
inserted
replaced
14 * Description: EAP and WLAN authentication protocols. |
14 * Description: EAP and WLAN authentication protocols. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 10 % |
19 * %version: % |
20 */ |
20 */ |
21 |
21 |
22 // This is enumeration of EAPOL source code. |
22 // This is enumeration of EAPOL source code. |
23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
24 #undef EAP_FILE_NUMBER_ENUM |
24 #undef EAP_FILE_NUMBER_ENUM |
75 return false; |
75 return false; |
76 } |
76 } |
77 |
77 |
78 EAP_FUNC_EXPORT bool eap_type_aka_state_variable_parameters_c::check_initiator(const bool is_initiator) const |
78 EAP_FUNC_EXPORT bool eap_type_aka_state_variable_parameters_c::check_initiator(const bool is_initiator) const |
79 { |
79 { |
80 if (m_must_be_initiator == true && is_initiator == false |
80 if ((m_must_be_initiator == true && is_initiator == false) |
81 || m_must_be_responder == true && is_initiator == true) |
81 || (m_must_be_responder == true && is_initiator == true)) |
82 { |
82 { |
83 return false; |
83 return false; |
84 } |
84 } |
85 return true; |
85 return true; |
86 } |
86 } |