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:
Simon Rozman 2016-07-20 09:10:54 +02:00
parent 40c992e1a5
commit a0303f0a1f
6 changed files with 10 additions and 10 deletions

View File

@ -35,7 +35,7 @@ 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:
///

View File

@ -33,7 +33,7 @@ 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:
///

View File

@ -28,7 +28,7 @@ using namespace winstd;
// 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)
{
}

View File

@ -28,19 +28,19 @@ using namespace winstd;
// 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) :
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) :
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)
{
if (this != &other)
(session<config_ttls, credentials_ttls, int, int>&)*this = other;
(session<config_ttls, credentials_ttls, bool, bool>&)*this = other;
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)
{
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;
}

View File

@ -35,7 +35,7 @@ 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:
///

View File

@ -25,7 +25,7 @@
// 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)
{
}