eap::config split to eap::config and eap::packable
This commit is contained in:
@@ -367,7 +367,7 @@ void eap::peer_ttls::get_ui_context(
|
||||
auto s = static_cast<session*>(hSession);
|
||||
|
||||
// Get context data from method.
|
||||
ui_context_ttls ctx(*this, s->m_cfg, s->m_cred);
|
||||
ui_context_ttls ctx(s->m_cfg, s->m_cred);
|
||||
s->m_method->get_ui_context(ctx.m_data);
|
||||
|
||||
// Pack context data.
|
||||
|
@@ -28,14 +28,15 @@ using namespace winstd;
|
||||
// eap::ui_context_ttls
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
eap::ui_context_ttls::ui_context_ttls(_In_ module &mod, _In_ config_connection &cfg, _In_ credentials_connection &cred) :
|
||||
ui_context(mod, cfg, cred)
|
||||
eap::ui_context_ttls::ui_context_ttls(_In_ config_connection &cfg, _In_ credentials_connection &cred) :
|
||||
ui_context(cfg, cred)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
eap::ui_context_ttls::ui_context_ttls(_In_ const ui_context_ttls &other) :
|
||||
ui_context(other)
|
||||
m_data (other.m_data),
|
||||
ui_context(other )
|
||||
{
|
||||
}
|
||||
|
||||
@@ -69,12 +70,6 @@ eap::ui_context_ttls& eap::ui_context_ttls::operator=(_Inout_ ui_context_ttls &&
|
||||
}
|
||||
|
||||
|
||||
eap::config* eap::ui_context_ttls::clone() const
|
||||
{
|
||||
return new ui_context_ttls(*this);
|
||||
}
|
||||
|
||||
|
||||
void eap::ui_context_ttls::operator<<(_Inout_ cursor_out &cursor) const
|
||||
{
|
||||
ui_context::operator<<(cursor);
|
||||
|
Reference in New Issue
Block a user