eapol/eapol_framework/eapol_common/type/tls_peap/tls/src/tls_record.cpp
changeset 49 43351a4f2da3
parent 34 ad1f037f1ac2
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 197 %
    19 * %version: 200 %
    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
 20156 
 20156 
 20157 #endif //#if defined(USE_FAST_EAP_TYPE)
 20157 #endif //#if defined(USE_FAST_EAP_TYPE)
 20158 
 20158 
 20159 //--------------------------------------------------
 20159 //--------------------------------------------------
 20160 
 20160 
       
 20161 #if defined(USE_FAST_EAP_TYPE)
       
 20162 
       
 20163 eap_status_e tls_record_c::complete_start_initialize_PAC_store(
       
 20164 	const eap_fast_completion_operation_e /* completion_operation */,
       
 20165 	const eap_fast_initialize_pac_store_completion_e /* completion */)
       
 20166 {
       
 20167 	EAP_TRACE_DEBUG(
       
 20168 		m_am_tools,
       
 20169 		TRACE_FLAGS_DEFAULT,
       
 20170 		(EAPL("TLS: this = 0x%08x, %s: message_function: starts: tls_record_c::complete_start_initialize_PAC_store(): m_tls_session_type=%d=%s\n"),
       
 20171 		 this,
       
 20172 		 (m_is_client == true ? "client": "server"),
       
 20173 		 m_tls_session_type,
       
 20174 		 eap_tls_trace_string_c::get_tls_session_type_string(m_tls_session_type)));
       
 20175 
       
 20176 	EAP_TRACE_RETURN_STRING(m_am_tools, "returns: tls_record_c::complete_start_initialize_PAC_store()");
       
 20177 
       
 20178 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
       
 20179 }
       
 20180 
       
 20181 #endif //#if defined(USE_FAST_EAP_TYPE)
       
 20182 
       
 20183 //--------------------------------------------------
 20161 
 20184 
 20162 EAP_FUNC_EXPORT eap_status_e tls_record_c::query_ttls_pap_username_and_password(
 20185 EAP_FUNC_EXPORT eap_status_e tls_record_c::query_ttls_pap_username_and_password(
 20163 	const eap_variable_data_c * const reply_message)
 20186 	const eap_variable_data_c * const reply_message)
 20164 {
 20187 {
 20165 	eap_status_e status(eap_status_process_general_error);
 20188 	eap_status_e status(eap_status_process_general_error);