eap::module is no longer abstract
This commit is contained in:
@@ -66,7 +66,9 @@ namespace eap
|
||||
///
|
||||
/// Constructs a module for the given EAP type
|
||||
///
|
||||
module(_In_ winstd::eap_type_t eap_method);
|
||||
/// \param[in] eap_method EAP method type ID
|
||||
///
|
||||
module(_In_ winstd::eap_type_t eap_method = winstd::eap_type_undefined);
|
||||
|
||||
///
|
||||
/// Destructs the module
|
||||
@@ -99,7 +101,7 @@ namespace eap
|
||||
///
|
||||
/// Makes a new method config for the given method type
|
||||
///
|
||||
virtual config_method* make_config_method() = 0;
|
||||
virtual config_method* make_config_method();
|
||||
|
||||
/// @}
|
||||
|
||||
@@ -685,6 +687,8 @@ namespace eap
|
||||
///
|
||||
/// Constructs a EAP peer module for the given EAP type
|
||||
///
|
||||
/// \param[in] eap_method EAP method type ID
|
||||
///
|
||||
peer_base(_In_ winstd::eap_type_t eap_method) : module(eap_method) {}
|
||||
|
||||
///
|
||||
@@ -704,6 +708,8 @@ namespace eap
|
||||
///
|
||||
/// Constructs a EAP peer module for the given EAP type
|
||||
///
|
||||
/// \param[in] eap_method EAP method type ID
|
||||
///
|
||||
peer(_In_ winstd::eap_type_t eap_method) : peer_base<_Tmeth, _Tcred, _Tint, _Tintres>(eap_method) {}
|
||||
|
||||
///
|
||||
|
@@ -128,6 +128,12 @@ void eap::module::log_error(_In_ const EAP_ERROR *err) const
|
||||
}
|
||||
|
||||
|
||||
eap::config_method* eap::module::make_config_method()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
bool eap::module::encrypt(_In_ HCRYPTPROV hProv, _In_bytecount_(size) const void *data, _In_ size_t size, _Out_ std::vector<unsigned char> &enc, _Out_ EAP_ERROR **ppEapError, _Out_opt_ HCRYPTHASH hHash) const
|
||||
{
|
||||
assert(ppEapError);
|
||||
|
@@ -42,6 +42,8 @@ namespace eap
|
||||
///
|
||||
/// Constructs a EAP UI peer module for the given EAP type
|
||||
///
|
||||
/// \param[in] eap_method EAP method type ID
|
||||
///
|
||||
peer_ui(_In_ winstd::eap_type_t eap_method) : peer_base<_Tmeth, _Tcred, _Tint, _Tintres>(eap_method) {}
|
||||
|
||||
///
|
||||
|
Reference in New Issue
Block a user