diff --git a/lib/MSCHAPv2_UI/include/MSCHAPv2_UI.h b/lib/MSCHAPv2_UI/include/MSCHAPv2_UI.h index 3c6358a..b6df2b5 100644 --- a/lib/MSCHAPv2_UI/include/MSCHAPv2_UI.h +++ b/lib/MSCHAPv2_UI/include/MSCHAPv2_UI.h @@ -26,16 +26,16 @@ class wxMSCHAPv2ConfigPanel; /// \addtogroup EAPBaseGUI /// @{ -/// -/// MSCHAPv2 credential configuration panel -/// -typedef wxEAPCredentialsConfigPanel > wxMSCHAPv2CredentialsConfigPanel; - /// /// MSCHAPv2 credential entry panel /// typedef wxPasswordCredentialsPanel wxMSCHAPv2CredentialsPanel; +/// +/// MSCHAPv2 credential configuration panel +/// +typedef wxEAPCredentialsConfigPanel wxMSCHAPv2CredentialsConfigPanel; + /// @} #pragma once diff --git a/lib/PAP_UI/include/PAP_UI.h b/lib/PAP_UI/include/PAP_UI.h index 4e34e8b..ff0d65d 100644 --- a/lib/PAP_UI/include/PAP_UI.h +++ b/lib/PAP_UI/include/PAP_UI.h @@ -26,16 +26,16 @@ class wxPAPConfigPanel; /// \addtogroup EAPBaseGUI /// @{ -/// -/// PAP credential configuration panel -/// -typedef wxEAPCredentialsConfigPanel > wxPAPCredentialsConfigPanel; - /// /// PAP credential entry panel /// typedef wxPasswordCredentialsPanel wxPAPCredentialsPanel; +/// +/// PAP credential configuration panel +/// +typedef wxEAPCredentialsConfigPanel wxPAPCredentialsConfigPanel; + /// @} #pragma once diff --git a/lib/TTLS/src/Config.cpp b/lib/TTLS/src/Config.cpp index 9fc7709..81a9b16 100644 --- a/lib/TTLS/src/Config.cpp +++ b/lib/TTLS/src/Config.cpp @@ -114,7 +114,7 @@ void eap::config_method_ttls::save(_In_ IXMLDOMDocument *pDoc, _In_ IXMLDOMNode throw com_runtime_error(hr, __FUNCTION__ " Error creating element."); } else { // / - if (FAILED(hr = eapxml::put_element_value(pDoc, pXmlElInnerAuthenticationMethod, bstr(L"EAPMethod"), namespace_eapmetadata, (DWORD)m_inner->get_method_id()))) + if (FAILED(hr = eapxml::put_element_value(pDoc, pXmlElInnerAuthenticationMethod, bstr(L"EAPMethod"), namespace_eapmetadata, (DWORD)eap_type))) throw com_runtime_error(hr, __FUNCTION__ " Error creating element."); }