eapol/eapol_framework/eapol_common/type/aka/core/eap_type_aka_state.cpp
branchRCL_3
changeset 18 bad0cc58d154
parent 2 1c7bc153c08e
child 19 c74b3d9f6b9e
--- a/eapol/eapol_framework/eapol_common/type/aka/core/eap_type_aka_state.cpp	Thu Aug 19 09:58:27 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/type/aka/core/eap_type_aka_state.cpp	Tue Aug 31 15:16:37 2010 +0300
@@ -16,7 +16,7 @@
 */
 
 /*
-* %version: 10 %
+* %version: %
 */
 
 // This is enumeration of EAPOL source code.
@@ -77,8 +77,8 @@
 
 EAP_FUNC_EXPORT bool eap_type_aka_state_variable_parameters_c::check_initiator(const bool is_initiator) const
 {
-	if (m_must_be_initiator == true && is_initiator == false
-		|| m_must_be_responder == true && is_initiator == true)
+	if ((m_must_be_initiator == true && is_initiator == false)
+		|| (m_must_be_responder == true && is_initiator == true))
 	{
 		return false;
 	}