Sessions are actually methods now

This commit is contained in:
2016-08-06 10:28:15 +02:00
parent 97d0f75f8d
commit faadb712fc
7 changed files with 134 additions and 422 deletions

View File

@@ -33,14 +33,9 @@ namespace eap
enum tls_flags_t;
///
/// TLS method
/// EAP-TLS method
///
class method_tls;
///
/// TLS session
///
class session_tls;
}
#pragma once
@@ -74,7 +69,7 @@ namespace eap
/// \param[in] mod EAP module to use for global services
/// \param[in] cfg Method configuration
///
method_tls(_In_ module &module, _In_ config_method &cfg, _In_ credentials &cred);
method_tls(_In_ module &module, _In_ config_method_tls &cfg, _In_ credentials_tls &cred);
///
/// Copies an EAP method

View File

@@ -28,7 +28,7 @@ using namespace winstd;
// eap::method_tls
//////////////////////////////////////////////////////////////////////
eap::method_tls::method_tls(_In_ module &module, _In_ config_method &cfg, _In_ credentials &cred) :
eap::method_tls::method_tls(_In_ module &module, _In_ config_method_tls &cfg, _In_ credentials_tls &cred) :
m_phase(phase_handshake_start),
method(module, cfg, cred)
{