config_method_with_cred::make_credentials() method moved to parent class config_method for seamless EAPMsg method support
This commit is contained in:
@@ -145,6 +145,11 @@ namespace eap
|
||||
///
|
||||
virtual const wchar_t* get_method_str() const;
|
||||
|
||||
///
|
||||
/// Creates a blank set of credentials suitable for this method
|
||||
///
|
||||
virtual credentials* make_credentials() const;
|
||||
|
||||
public:
|
||||
EAP_METHOD_TYPE m_type; ///< EapHost method type: (EAP type, vendor ID, vendor type, author ID) tuple
|
||||
sanitizing_blob m_cfg_blob; ///< Method configuration BLOB
|
||||
|
@@ -169,3 +169,9 @@ const wchar_t* eap::config_method_eapmsg::get_method_str() const
|
||||
// TODO: Query registry for EAP method name (PeerFriendlyName using RegLoadMUIString()).
|
||||
return L"EAPMsg";
|
||||
}
|
||||
|
||||
|
||||
eap::credentials* eap::config_method_eapmsg::make_credentials() const
|
||||
{
|
||||
return new credentials_eapmsg(m_module);
|
||||
}
|
||||
|
Reference in New Issue
Block a user