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: % |
19 * %version: 22.1.4 % |
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 |
545 if (status != eap_status_ok) |
545 if (status != eap_status_ok) |
546 { |
546 { |
547 EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT); |
547 EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT); |
548 return EAP_STATUS_RETURN(m_am_tools, status); |
548 return EAP_STATUS_RETURN(m_am_tools, status); |
549 } |
549 } |
|
550 |
|
551 EAP_TRACE_DATA_DEBUG( |
|
552 m_am_tools, |
|
553 TRACE_FLAGS_DEFAULT, |
|
554 (EAPL("EAP_type_GTC: function: eap_type_securid_c::remove_username_store(): read m_identity:"), |
|
555 m_identity.get_data(), |
|
556 m_identity.get_data_length())); |
550 } |
557 } |
551 else |
558 else |
552 { |
559 { |
553 EAP_TRACE_DEBUG( |
560 EAP_TRACE_DEBUG( |
554 m_am_tools, |
561 m_am_tools, |
610 (void) m_am_type_securid->type_configure_read( |
617 (void) m_am_type_securid->type_configure_read( |
611 cf_str_EAP_SECURID_identity.get_field(), |
618 cf_str_EAP_SECURID_identity.get_field(), |
612 &m_identity); |
619 &m_identity); |
613 // Status does not matter. |
620 // Status does not matter. |
614 |
621 |
|
622 EAP_TRACE_DATA_DEBUG( |
|
623 m_am_tools, |
|
624 TRACE_FLAGS_DEFAULT, |
|
625 (EAPL("EAP_type_GTC: function: eap_type_securid_c::configure(): m_identity:"), |
|
626 m_identity.get_data(), |
|
627 m_identity.get_data_length())); |
|
628 |
615 if (m_is_client == false) |
629 if (m_is_client == false) |
616 { |
630 { |
617 (void) m_am_type_securid->type_configure_read( |
631 (void) m_am_type_securid->type_configure_read( |
618 cf_str_EAP_SECURID_passcode.get_field(), |
632 cf_str_EAP_SECURID_passcode.get_field(), |
619 &m_pincode); |
633 &m_pincode); |
623 { |
637 { |
624 (void) m_am_type_securid->type_configure_read( |
638 (void) m_am_type_securid->type_configure_read( |
625 cf_str_EAP_GTC_identity.get_field(), |
639 cf_str_EAP_GTC_identity.get_field(), |
626 &m_identity); |
640 &m_identity); |
627 // Status does not matter. |
641 // Status does not matter. |
|
642 |
|
643 EAP_TRACE_DATA_DEBUG( |
|
644 m_am_tools, |
|
645 TRACE_FLAGS_DEFAULT, |
|
646 (EAPL("EAP_type_GTC: function: eap_type_securid_c::configure(): m_identity:"), |
|
647 m_identity.get_data(), |
|
648 m_identity.get_data_length())); |
628 |
649 |
629 if (m_is_client == false) |
650 if (m_is_client == false) |
630 { |
651 { |
631 (void) m_am_type_securid->type_configure_read( |
652 (void) m_am_type_securid->type_configure_read( |
632 cf_str_EAP_GTC_passcode.get_field(), |
653 cf_str_EAP_GTC_passcode.get_field(), |
784 cf_str_EAP_GTC_identity.get_field(), |
805 cf_str_EAP_GTC_identity.get_field(), |
785 &m_identity); |
806 &m_identity); |
786 // Status does not matter. |
807 // Status does not matter. |
787 } |
808 } |
788 |
809 |
|
810 EAP_TRACE_DATA_DEBUG( |
|
811 m_am_tools, |
|
812 TRACE_FLAGS_DEFAULT, |
|
813 (EAPL("EAP_type_GTC: function: eap_type_securid_c::reset(): m_identity:"), |
|
814 m_identity.get_data(), |
|
815 m_identity.get_data_length())); |
|
816 |
789 m_state.set_state(eap_type_securid_state_none); |
817 m_state.set_state(eap_type_securid_state_none); |
790 m_identity_asked = false; |
818 m_identity_asked = false; |
791 m_is_pending = false; |
819 m_is_pending = false; |
792 |
820 |
793 eap_status_e status = m_am_type_securid->reset(); |
821 eap_status_e status = m_am_type_securid->reset(); |