diff --git a/lib/TLS/include/Config.h b/lib/TLS/include/Config.h index 5c497c5..e4d134b 100644 --- a/lib/TLS/include/Config.h +++ b/lib/TLS/include/Config.h @@ -109,8 +109,6 @@ namespace eap /// config_method_tls& operator=(_Inout_ config_method_tls &&other) noexcept; - virtual config* clone() const; - /// \name XML management /// @{ virtual void save(_In_ IXMLDOMDocument *pDoc, _In_ IXMLDOMNode *pConfigRoot) const; @@ -124,18 +122,6 @@ namespace eap virtual void operator>>(_Inout_ cursor_in &cursor); /// @} - /// - /// @copydoc eap::config_method::get_method_id() - /// \returns This implementation always returns `winstd::eap_type_t::tls` - /// - virtual winstd::eap_type_t get_method_id() const; - - /// - /// @copydoc eap::config_method::get_method_str() - /// \returns This implementation always returns `L"EAP-TLS"` - /// - virtual const wchar_t* get_method_str() const; - /// /// @copydoc eap::config_method::make_credentials() /// \returns This implementation always returns `eap::credentials_tls` type of credentials diff --git a/lib/TLS/src/Config.cpp b/lib/TLS/src/Config.cpp index 5a6d42c..5fd354e 100644 --- a/lib/TLS/src/Config.cpp +++ b/lib/TLS/src/Config.cpp @@ -112,12 +112,6 @@ eap::config_method_tls& eap::config_method_tls::operator=(_Inout_ config_method_ } -eap::config* eap::config_method_tls::clone() const -{ - return new config_method_tls(*this); -} - - void eap::config_method_tls::save(_In_ IXMLDOMDocument *pDoc, _In_ IXMLDOMNode *pConfigRoot) const { assert(pDoc); @@ -254,18 +248,6 @@ void eap::config_method_tls::operator>>(_Inout_ cursor_in &cursor) } -eap_type_t eap::config_method_tls::get_method_id() const -{ - return eap_type_t::tls; -} - - -const wchar_t* eap::config_method_tls::get_method_str() const -{ - return L"EAP-TLS"; -} - - eap::credentials* eap::config_method_tls::make_credentials() const { return new credentials_tls(m_module);