eapol/eapol_framework/eapol_common/common/asn1_der_type.cpp
changeset 52 c23bdf5a328a
parent 39 fe6b6762fccd
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: %
    19 * %version: 32.1.5 %
    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
   748 	const u8_t * const data,
   748 	const u8_t * const data,
   749 	const u16_t recursion,
   749 	const u16_t recursion,
   750 	const u32_t index,
   750 	const u32_t index,
   751 	eap_variable_data_c * const debug_buffer)
   751 	eap_variable_data_c * const debug_buffer)
   752 {
   752 {
       
   753 	EAP_UNREFERENCED_PARAMETER(debug_buffer);
   753 	if (index > 0xffff)
   754 	if (index > 0xffff)
   754 	{
   755 	{
   755 		EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT);
   756 		EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT);
   756 		return EAP_STATUS_RETURN(m_am_tools, eap_status_illegal_parameter);
   757 		return EAP_STATUS_RETURN(m_am_tools, eap_status_illegal_parameter);
   757 	}
   758 	}