EAP-TTLS module and session data types for interactive prompt/response data changed to bool for simplicity of next commit
This commit is contained in:
parent
40c992e1a5
commit
a0303f0a1f
@ -35,7 +35,7 @@ namespace eap
|
|||||||
|
|
||||||
namespace eap
|
namespace eap
|
||||||
{
|
{
|
||||||
class peer_ttls : public peer<config_ttls, credentials_ttls, int, int>
|
class peer_ttls : public peer<config_ttls, credentials_ttls, bool, bool>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
///
|
///
|
||||||
|
@ -33,7 +33,7 @@ namespace eap
|
|||||||
|
|
||||||
namespace eap
|
namespace eap
|
||||||
{
|
{
|
||||||
class session_ttls : public session<config_ttls, credentials_ttls, int, int>
|
class session_ttls : public session<config_ttls, credentials_ttls, bool, bool>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
///
|
///
|
||||||
|
@ -28,7 +28,7 @@ using namespace winstd;
|
|||||||
// eap::peer_ttls
|
// eap::peer_ttls
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
eap::peer_ttls::peer_ttls() : peer(type_ttls)
|
eap::peer_ttls::peer_ttls() : peer<config_ttls, credentials_ttls, bool, bool>(type_ttls)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,19 +28,19 @@ using namespace winstd;
|
|||||||
// eap::session_ttls
|
// eap::session_ttls
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
eap::session_ttls::session_ttls(_In_ module &mod) : session<config_ttls, credentials_ttls, int, int>(mod)
|
eap::session_ttls::session_ttls(_In_ module &mod) : session<config_ttls, credentials_ttls, bool, bool>(mod)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
eap::session_ttls::session_ttls(_In_ const session_ttls &other) :
|
eap::session_ttls::session_ttls(_In_ const session_ttls &other) :
|
||||||
session<config_ttls, credentials_ttls, int, int>(other)
|
session<config_ttls, credentials_ttls, bool, bool>(other)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
eap::session_ttls::session_ttls(_Inout_ session_ttls &&other) :
|
eap::session_ttls::session_ttls(_Inout_ session_ttls &&other) :
|
||||||
session<config_ttls, credentials_ttls, int, int>(std::move(other))
|
session<config_ttls, credentials_ttls, bool, bool>(std::move(other))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ eap::session_ttls::session_ttls(_Inout_ session_ttls &&other) :
|
|||||||
eap::session_ttls& eap::session_ttls::operator=(_In_ const session_ttls &other)
|
eap::session_ttls& eap::session_ttls::operator=(_In_ const session_ttls &other)
|
||||||
{
|
{
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
(session<config_ttls, credentials_ttls, int, int>&)*this = other;
|
(session<config_ttls, credentials_ttls, bool, bool>&)*this = other;
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
@ -57,7 +57,7 @@ eap::session_ttls& eap::session_ttls::operator=(_In_ const session_ttls &other)
|
|||||||
eap::session_ttls& eap::session_ttls::operator=(_Inout_ session_ttls &&other)
|
eap::session_ttls& eap::session_ttls::operator=(_Inout_ session_ttls &&other)
|
||||||
{
|
{
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
(session<config_ttls, credentials_ttls, int, int>&)*this = std::move(other);
|
(session<config_ttls, credentials_ttls, bool, bool>&)*this = std::move(other);
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ namespace eap
|
|||||||
|
|
||||||
namespace eap
|
namespace eap
|
||||||
{
|
{
|
||||||
class peer_ttls_ui : public peer_ui<eap::config_ttls, eap::credentials_ttls, int, int>
|
class peer_ttls_ui : public peer_ui<eap::config_ttls, eap::credentials_ttls, bool, bool>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
///
|
///
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
// eap::peer_ttls_ui
|
// eap::peer_ttls_ui
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
eap::peer_ttls_ui::peer_ttls_ui() : peer_ui<eap::config_ttls, eap::credentials_ttls, int, int>(type_ttls)
|
eap::peer_ttls_ui::peer_ttls_ui() : peer_ui<eap::config_ttls, eap::credentials_ttls, bool, bool>(type_ttls)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user